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.

        Value: The guides.
      • getGuideCount

        public int getGuideCount()

        Gets the guide resource blocks count.

        Value: The guide resource blocks count.
      • getHeaderVersion

        public int getHeaderVersion()

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

        Value: The header version.
      • setHeaderVersion

        public void setHeaderVersion(int value)
      • getGridCycleX

        public int getGridCycleX()

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

        Value: The horizontal grid cycle.
      • setGridCycleX

        public void setGridCycleX(int value)
      • getGridCycleY

        public int getGridCycleY()

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

        Value: The vertical grid cycle.
      • setGridCycleY

        public void setGridCycleY(int value)
      • getDataSize

        public int getDataSize()

        Gets the resource data size in bytes.

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

        public int getMinimalVersion()

        Gets the minimal required psd version.

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