Packages

 

com.aspose.psd.fileformats.psd.resources

Class GridAndGuidesResource



  • public final class GridAndGuidesResource
    extends ResourceBlock

    Represents the grid and guides resource.

    • Constructor Detail

      • GridAndGuidesResource

        public GridAndGuidesResource()

        Initializes a new instance of the GridAndGuidesResource class.

    • Method Detail

      • getGuides

        public final GuideResource[] getGuides()

        Gets or sets the guides.

        Value: The guides.
      • setGuides

        public final void setGuides(GuideResource[] value)

        Gets or sets the guides.

        Value: The guides.
      • getGuideCount

        public final int getGuideCount()

        Gets the guide resource blocks count.

        Value: The guide resource blocks count.
      • getHeaderVersion

        public final int getHeaderVersion()

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

        Value: The header version.
      • setHeaderVersion

        public final void setHeaderVersion(int value)

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

        Value: The header version.
      • getGridCycleX

        public final int getGridCycleX()

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

        Value: The horizontal grid cycle.
      • setGridCycleX

        public final void setGridCycleX(int value)

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

        Value: The horizontal grid cycle.
      • getGridCycleY

        public final int getGridCycleY()

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

        Value: The vertical grid cycle.
      • setGridCycleY

        public final void setGridCycleY(int value)

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

        Value: The vertical grid cycle.
      • 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