public final class PixelAspectRatioResource extends ResourceBlock
Pixel aspect ration resource
ResourceBlock.ResourceBlockState
ResouceBlockMeSaSignature, ResouceBlockSignature
Constructor and Description |
---|
PixelAspectRatioResource()
Initializes a new instance of the
ResolutionInfoResource class. |
Modifier and Type | Method and Description |
---|---|
double |
getAspectRatio()
Gets or sets the aspect ratio.
|
int |
getDataSize()
Gets the resource data size in bytes.
|
int |
getMinimalVersion()
Gets the minimal required PSD version.
|
int |
getVersion()
Gets or sets the version.
|
void |
setAspectRatio(double value)
Gets or sets the aspect ratio.
|
void |
setVersion(int value)
Gets or sets the version.
|
getID, getName, getSignature, getSize, save, setID, setName, validateValues
public PixelAspectRatioResource()
Initializes a new instance of the ResolutionInfoResource
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 int getVersion()
Gets or sets the version.
Value: The version.public final void setVersion(int value)
Gets or sets the version.
Value: The version.public final double getAspectRatio()
Gets or sets the aspect ratio.
Value: The aspect ratio.public final void setAspectRatio(double value)
Gets or sets the aspect ratio.
Value: The aspect ratio.