WarpSettings
Inheritance: java.lang.Object
public class WarpSettings
Parameters of layer with warp
Constructors
Constructor | Description |
---|---|
WarpSettings(OSTypeStructure[] warpItems, Rectangle bounds) | Initializes a new instance of the WarpSettings class. |
WarpSettings(PlacedResource placedResource) | Initializes a new instance of the WarpSettings class. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getBounds() | Gets or sets bounds of warp image |
getClass() | |
getMeshPoints() | Photoshop mesh points |
getRotate() | Gets or sets rotate value |
getStyle() | Gets or sets style of warp |
getValue() | Gets or sets value of warp |
hashCode() | |
notify() | |
notifyAll() | |
setBounds(Rectangle value) | Gets or sets bounds of warp image |
setMeshPoints(Point[] value) | Photoshop mesh points |
setMeshPoints_internalized(PlacedResource placedResource) | It returns mesh point from resource vectors |
setRotate(int value) | Gets or sets rotate value |
setStyle(int value) | Gets or sets style of warp |
setValue(double value) | Gets or sets value of warp |
setWarpToResource_internalized(OSTypeStructure[] warpItems) | It save this warp params to PlacedResource |
setWarpToResource_internalized(PlacedResource placedResource) | It save this warp params to PlacedResource |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
WarpSettings(OSTypeStructure[] warpItems, Rectangle bounds)
public WarpSettings(OSTypeStructure[] warpItems, Rectangle bounds)
Initializes a new instance of the WarpSettings class.
Parameters:
Parameter | Type | Description |
---|---|---|
warpItems | OSTypeStructure[] | PS items with warp settings |
bounds | Rectangle | The bounds of warp image |
WarpSettings(PlacedResource placedResource)
public WarpSettings(PlacedResource placedResource)
Initializes a new instance of the WarpSettings class.
Parameters:
Parameter | Type | Description |
---|---|---|
placedResource | PlacedResource | The resource with warp settings |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBounds()
public final Rectangle getBounds()
Gets or sets bounds of warp image
Returns: Rectangle
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getMeshPoints()
public final Point[] getMeshPoints()
Photoshop mesh points
Returns: com.aspose.psd.Point[]
getRotate()
public final int getRotate()
Gets or sets rotate value
Returns: int
getStyle()
public final int getStyle()
Gets or sets style of warp
Returns: int
getValue()
public final double getValue()
Gets or sets value of warp
Returns: double
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBounds(Rectangle value)
public final void setBounds(Rectangle value)
Gets or sets bounds of warp image
Parameters:
Parameter | Type | Description |
---|---|---|
value | Rectangle |
setMeshPoints(Point[] value)
public final void setMeshPoints(Point[] value)
Photoshop mesh points
Parameters:
Parameter | Type | Description |
---|---|---|
value | Point[] |
setMeshPoints_internalized(PlacedResource placedResource)
public final PlacedResource setMeshPoints_internalized(PlacedResource placedResource)
It returns mesh point from resource vectors
Parameters:
Parameter | Type | Description |
---|---|---|
placedResource | PlacedResource | The resource with warp settings |
Returns: PlacedResource - The PlacedResource with set mesh points
setRotate(int value)
public final void setRotate(int value)
Gets or sets rotate value
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setStyle(int value)
public final void setStyle(int value)
Gets or sets style of warp
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setValue(double value)
public final void setValue(double value)
Gets or sets value of warp
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setWarpToResource_internalized(OSTypeStructure[] warpItems)
public final OSTypeStructure[] setWarpToResource_internalized(OSTypeStructure[] warpItems)
It save this warp params to PlacedResource
Parameters:
Parameter | Type | Description |
---|---|---|
warpItems | OSTypeStructure[] | The resource with warp settings |
Returns: com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure[] - Resource with warp params from this WarpParams
setWarpToResource_internalized(PlacedResource placedResource)
public final PlacedResource setWarpToResource_internalized(PlacedResource placedResource)
It save this warp params to PlacedResource
Parameters:
Parameter | Type | Description |
---|---|---|
placedResource | PlacedResource | The resource with warp settings |
Returns: PlacedResource - Resource with warp params from this WarpParams
toString()
public String toString()
Returns: java.lang.String
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 |