public final class PrintScaleResource extends ResourceBlock
Print Scale resource
ResourceBlock.ResourceBlockState
ResouceBlockMeSaSignature, ResouceBlockSignature
Constructor and Description |
---|
PrintScaleResource()
Initializes a new instance of the
PrintScaleResource class. |
Modifier and Type | Method and Description |
---|---|
int |
getDataSize()
Gets the resource data size in bytes.
|
int |
getMinimalVersion()
Gets the minimal required PSD version.
|
float |
getScale()
Gets or sets the scale.
|
short |
getStyle()
Gets or sets the style.
|
float |
getXLocation()
Gets or sets the x location.
|
float |
getYLocation()
Gets or sets the y location.
|
void |
setScale(float value)
Gets or sets the scale.
|
void |
setStyle(short value)
Gets or sets the style.
|
void |
setXLocation(float value)
Gets or sets the x location.
|
void |
setYLocation(float value)
Gets or sets the y location.
|
getID, getName, getSignature, getSize, save, setID, setName, validateValues
public PrintScaleResource()
Initializes a new instance of the PrintScaleResource
class.
public int getDataSize()
Gets the resource data size in bytes.
Value: The resource data size.getDataSize
in class ResourceBlock
public int getMinimalVersion()
Gets the minimal required PSD version.
Value: The minimal PSD version.getMinimalVersion
in class ResourceBlock
public final short getStyle()
Gets or sets the style.
Value: The style.public final void setStyle(short value)
Gets or sets the style.
Value: The style.public final float getXLocation()
Gets or sets the x location.
Value: The x location.public final void setXLocation(float value)
Gets or sets the x location.
Value: The x location.public final float getYLocation()
Gets or sets the y location.
Value: The y location.public final void setYLocation(float value)
Gets or sets the y location.
Value: The y location.public final float getScale()
Gets or sets the scale.
Value: The scale.public final void setScale(float value)
Gets or sets the scale.
Value: The scale.