PrintScaleResource
Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.ResourceBlock
public final class PrintScaleResource extends ResourceBlock
Print Scale resource
Constructors
Constructor | Description |
---|---|
PrintScaleResource() | Initializes a new instance of the PrintScaleResource class. |
Fields
Field | Description |
---|---|
ResouceBlockMeSaSignature | The resource signature of ImageReady. |
ResouceBlockSignature | The regular Photoshop resource signature. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getDataSize() | Gets the resource data size in bytes. |
getID() | Gets or sets the unique identifier for the resource. |
getMinimalVersion() | Gets the minimal required PSD version. |
getName() | Gets or sets the resource name. |
getScale() | Gets or sets the scale. |
getSignature() | Gets the resource signature. |
getSize() | Gets the resource block size in bytes including its data. |
getStyle() | Gets or sets the style. |
getXLocation() | Gets or sets the x location. |
getYLocation() | Gets or sets the y location. |
hashCode() | |
notify() | |
notifyAll() | |
save(StreamContainer stream) | Saves the resource block to the specified stream. |
setID(short value) | Gets or sets the unique identifier for the resource. |
setLayerAndMaskInfo_internalized(LayerAndMaskInfo value) | Gets or sets the layer and mask information. |
setName(String value) | Gets or sets the resource name. |
setScale(float value) | Gets or sets the scale. |
setSignature_internalized(int signature) | |
setState_internalized(int value) | Gets or sets the resource block state. |
setStyle(short value) | Gets or sets the style. |
setXLocation(float value) | Gets or sets the x location. |
setYLocation(float value) | Gets or sets the y location. |
toString() | |
validateValues() | Validates the resource values. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
PrintScaleResource()
public PrintScaleResource()
Initializes a new instance of the PrintScaleResource class.
ResouceBlockMeSaSignature
public static final int ResouceBlockMeSaSignature
The resource signature of ImageReady.
ResouceBlockSignature
public static final int ResouceBlockSignature
The regular Photoshop resource signature.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDataSize()
public int getDataSize()
Gets the resource data size in bytes.
Value: The resource data size.
Returns: int
getID()
public final short getID()
Gets or sets the unique identifier for the resource.
Value: The unique identifier for the resource.
Returns: short
getMinimalVersion()
public int getMinimalVersion()
Gets the minimal required PSD version.
Value: The minimal PSD version.
Returns: int
getName()
public final String getName()
Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
Value: The resource name.
Returns: java.lang.String
getScale()
public final float getScale()
Gets or sets the scale.
Value: The scale.
Returns: float
getSignature()
public final int getSignature()
Gets the resource signature. Should be always ‘8BIM’.
Value: The resource signature.
Returns: int
getSize()
public final int getSize()
Gets the resource block size in bytes including its data.
Value: The resource block size.
Returns: int
getStyle()
public final short getStyle()
Gets or sets the style.
Value: The style.
Returns: short
getXLocation()
public final float getXLocation()
Gets or sets the x location.
Value: The x location.
Returns: float
getYLocation()
public final float getYLocation()
Gets or sets the y location.
Value: The y location.
Returns: float
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
save(StreamContainer stream)
public final void save(StreamContainer stream)
Saves the resource block to the specified stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | StreamContainer | The stream to save the resource block to. |
setID(short value)
public final void setID(short value)
Gets or sets the unique identifier for the resource.
Value: The unique identifier for the resource.
Parameters:
Parameter | Type | Description |
---|---|---|
value | short |
setLayerAndMaskInfo_internalized(LayerAndMaskInfo value)
public final void setLayerAndMaskInfo_internalized(LayerAndMaskInfo value)
Gets or sets the layer and mask information.
Value: The layer and mask information.
Parameters:
Parameter | Type | Description |
---|---|---|
value | com.aspose.internal.fileformats.psd.sections.LayerAndMaskInfo |
setName(String value)
public final void setName(String value)
Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
Value: The resource name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setScale(float value)
public final void setScale(float value)
Gets or sets the scale.
Value: The scale.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
setSignature_internalized(int signature)
public void setSignature_internalized(int signature)
Parameters:
Parameter | Type | Description |
---|---|---|
signature | int |
setState_internalized(int value)
public final void setState_internalized(int value)
Gets or sets the resource block state.
Value: The resource block state.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setStyle(short value)
public final void setStyle(short value)
Gets or sets the style.
Value: The style.
Parameters:
Parameter | Type | Description |
---|---|---|
value | short |
setXLocation(float value)
public final void setXLocation(float value)
Gets or sets the x location.
Value: The x location.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
setYLocation(float value)
public final void setYLocation(float value)
Gets or sets the y location.
Value: The y location.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
toString()
public String toString()
Returns: java.lang.String
validateValues()
public void validateValues()
Validates the resource values.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |