Packages

 

com.aspose.cad.fileformats.psd.resources

Class GridAndGuidesResouce



  • public final class GridAndGuidesResouce
    extends ResourceBlock

    Represents the grid and guides resource.

    • Constructor Detail

      • GridAndGuidesResouce

        public GridAndGuidesResouce()

        Initializes a new instance of the GridAndGuidesResouce class.

    • Method Detail

      • getGuides

        public GuideResource[] getGuides()

        Gets or sets the guides.

        Returns:
        The guides.
      • setGuides

        public void setGuides(GuideResource[] value)

        Gets or sets the guides.

        Parameters:
        valueThe - guides.
      • getGuideCount

        public int getGuideCount()

        Gets the guide resource blocks count.

        Returns:
        The guide resource blocks count.
      • getHeaderVersion

        public int getHeaderVersion()

        Gets or sets the header version. This value should be always 1.

        Returns:
        The header version.
      • setHeaderVersion

        public void setHeaderVersion(int value)

        Gets or sets the header version. This value should be always 1.

        Parameters:
        valueThe - header version.
      • getGridCycleX

        public int getGridCycleX()

        Gets or sets the horizontal grid cycle. The default is 576.

        Returns:
        The horizontal grid cycle.
      • setGridCycleX

        public void setGridCycleX(int value)

        Gets or sets the horizontal grid cycle. The default is 576.

        Parameters:
        valueThe - horizontal grid cycle.
      • getGridCycleY

        public int getGridCycleY()

        Gets or sets the vertical grid cycle. The default is 576.

        Returns:
        The vertical grid cycle.
      • setGridCycleY

        public void setGridCycleY(int value)

        Gets or sets the vertical grid cycle. The default is 576.

        Parameters:
        valueThe - vertical grid cycle.
      • getDataSize

        public int getDataSize()

        Gets the resource data size in bytes.

        Specified by:
        getDataSize in class ResourceBlock
        Returns:
        The resource data size.
      • getMinimalVersion

        public int getMinimalVersion()

        Gets the minimal required psd version.

        Specified by:
        getMinimalVersion in class ResourceBlock
        Returns:
        The minimal psd version.