public class FxrpResource extends LayerResource
Class FxrpResource. The reference point of layer
LayerResource
Modifier and Type | Field and Description |
---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature
Constructor and Description |
---|
FxrpResource()
Initializes a new instance of the
FxrpResource class. |
FxrpResource(byte[] data)
Initializes a new instance of the
FxrpResource class. |
FxrpResource(double x,
double y)
Initializes a new instance of the
FxrpResource class. |
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
int |
getPsdVersion()
Gets the psd version.
|
int |
getSignature()
Gets the signature.
|
double |
getX()
Gets or sets the x of reference point
|
double |
getY()
Gets or sets the y of reference point
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves to the specified stream container.
|
void |
setX(double value)
Gets or sets the x of reference point
|
void |
setY(double value)
Gets or sets the y of reference point
|
toString
public static final int TypeToolKey
The type tool info key.
public FxrpResource(double x, double y)
Initializes a new instance of the FxrpResource
class.
x
- The x coordinate of reference pointy
- The y coordinate of reference pointpublic FxrpResource()
Initializes a new instance of the FxrpResource
class.
public FxrpResource(byte[] data)
Initializes a new instance of the FxrpResource
class.
With custom or unknown value
data
- The resource data.PsdImageArgumentException
- Invalid Fxrp Resource valuepublic final double getX()
Gets or sets the x of reference point
Value: The x of reference pointpublic final void setX(double value)
Gets or sets the x of reference point
Value: The x of reference pointpublic final double getY()
Gets or sets the y of reference point
Value: The y of reference pointpublic final void setY(double value)
Gets or sets the y of reference point
Value: The y of reference pointpublic int getSignature()
Gets the signature.
getSignature
in class LayerResource
public int getKey()
Gets the layer resource key.
getKey
in class LayerResource
public int getLength()
Gets the layer resource length in bytes.
getLength
in class LayerResource
public int getPsdVersion()
Gets the psd version.
getPsdVersion
in class LayerResource
public void save(StreamContainer streamContainer, int psdVersion)
Saves to the specified stream container.
save
in class LayerResource
streamContainer
- The stream container.psdVersion
- The PSD version.