|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.imaging.fileformats.psd.ResourceBlock
com.aspose.imaging.fileformats.psd.resources.GridAndGuidesResouce
public class GridAndGuidesResouce
Represents the grid and guides resource.
Constructor Summary | |
---|---|
GridAndGuidesResouce()
Initializes a new instance of the GridAndGuidesResouce class. |
Method Summary | |
---|---|
int |
getDataSize()
Gets the resource data size in bytes. |
int |
getGridCycleX()
Gets the horizontal grid cycle. |
int |
getGridCycleY()
Gets the vertical grid cycle. |
int |
getGuideCount()
Gets the guide resource blocks count. |
GuideResource[] |
getGuides()
Gets the guides. |
int |
getHeaderVersion()
Gets the header version. |
int |
getMinimalVersion()
Gets the minimal required psd version. |
protected void |
saveData(StreamContainer streamContainer)
Saves the resource block data. |
void |
setGridCycleX(int value)
Sets the horizontal grid cycle. |
void |
setGridCycleY(int value)
Sets the vertical grid cycle. |
void |
setGuides(GuideResource[] value)
Sets the guides. |
void |
setHeaderVersion(int value)
Sets the header version. |
Methods inherited from class com.aspose.imaging.fileformats.psd.ResourceBlock |
---|
getID, getName, getSignature, getSize, save, setID, setName, validateValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridAndGuidesResouce()
Initializes a new instance of the GridAndGuidesResouce
class.
Method Detail |
---|
public int getDataSize()
Gets the resource data size in bytes.
Value: The resource data size.
getDataSize
in class ResourceBlock
public int getGridCycleX()
Gets the horizontal grid cycle. The default is 576.
Value: The horizontal grid cycle.
public int getGridCycleY()
Gets the vertical grid cycle. The default is 576.
Value: The vertical grid cycle.
public int getGuideCount()
Gets the guide resource blocks count.
Value: The guide resource blocks count.
public GuideResource[] getGuides()
Gets the guides.
Value: The guides.
public int getHeaderVersion()
Gets the header version. This value should be always 1.
Value: The header version.
public int getMinimalVersion()
Gets the minimal required psd version.
Value: The minimal psd version.
getMinimalVersion
in class ResourceBlock
protected void saveData(StreamContainer streamContainer)
Saves the resource block data.
saveData
in class ResourceBlock
streamContainer
- The stream container to save to.public void setGridCycleX(int value)
Sets the horizontal grid cycle. The default is 576.
Value: The horizontal grid cycle.
public void setGridCycleY(int value)
Sets the vertical grid cycle. The default is 576.
Value: The vertical grid cycle.
public void setGuides(GuideResource[] value)
Sets the guides.
Value: The guides.
public void setHeaderVersion(int value)
Sets the header version. This value should be always 1.
Value: The header version.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |