WarpSettings
Inheritance: java.lang.Object
public class WarpSettings
Parameters of layer with warp
Constructors
| Constructor | Description |
|---|---|
| WarpSettings(PointF[] meshPoints, Rectangle bounds) | Initializes a new instance of the WarpSettings class. |
| WarpSettings(PointF[] meshPoints, Rectangle bounds, int style) | Initializes a new instance of the WarpSettings class. |
| WarpSettings(OSTypeStructure[] warpItems, Rectangle bounds) | Initializes a new instance of the WarpSettings class. |
| WarpSettings(PlacedResource placedResource) | Initializes a new instance of the WarpSettings class. |
Fields
| Field | Description |
|---|---|
| DefaultRenderQuality_internalized | The default value of ProcessingArea |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getBounds() | Gets or sets bounds of warp image |
| getClass() | |
| getGridSize() | Gets or sets the size of the warp grid. |
| getMeshLinesSize_internalized() | Gets or sets the size of the mesh lines. |
| getMeshPoints() | Photoshop mesh points |
| getRenderQuality() | Gets or sets value of warp render quality - between speed and quality |
| getRotate() | Gets or sets rotate value |
| getStyle() | Gets or sets style of warp |
| getValue() | Gets or sets value of warp |
| hashCode() | |
| isDefaultMeshPoints_internalized() | Gets or sets user change in MeshPoints |
| notify() | |
| notifyAll() | |
| setBounds(Rectangle value) | Gets or sets bounds of warp image |
| setGridSize(Size value) | Gets or sets the size of the warp grid. |
| setMeshLinesSize_internalized(Size value) | Gets or sets the size of the mesh lines. |
| setMeshPoints(PointF[] value) | Photoshop mesh points |
| setMeshPoints_internalized(PlacedResource placedResource) | It returns mesh point from resource vectors |
| setRenderQuality(int value) | Gets or sets value of warp render quality - between speed and quality |
| 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(PointF[] meshPoints, Rectangle bounds)
public WarpSettings(PointF[] meshPoints, Rectangle bounds)
Initializes a new instance of the WarpSettings class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| meshPoints | PointF[] | The mesh points of warp |
| bounds | Rectangle | The bounds of warp image |
WarpSettings(PointF[] meshPoints, Rectangle bounds, int style)
public WarpSettings(PointF[] meshPoints, Rectangle bounds, int style)
Initializes a new instance of the WarpSettings class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| meshPoints | PointF[] | The mesh points of warp |
| bounds | Rectangle | The bounds of warp image |
| style | int | The style of warp |
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 |
DefaultRenderQuality_internalized
public static final int DefaultRenderQuality_internalized
The default value of ProcessingArea
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
getGridSize()
public final Size getGridSize()
Gets or sets the size of the warp grid. Default is 1.
Returns: Size
getMeshLinesSize_internalized()
public final Size getMeshLinesSize_internalized()
Gets or sets the size of the mesh lines. GridSize it is definition from PS that client can selected. Every GridSize has 4 mesh lines. If the number of GridSize is greater than 1, then the last mesh Line of first Grid and first of the second Grid are one Mesh Line.
Returns: Size
getMeshPoints()
public final PointF[] getMeshPoints()
Photoshop mesh points
Returns: com.aspose.psd.PointF[]
getRenderQuality()
public final int getRenderQuality()
Gets or sets value of warp render quality - between speed and quality
Returns: int
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
isDefaultMeshPoints_internalized()
public final boolean isDefaultMeshPoints_internalized()
Gets or sets user change in MeshPoints
Returns: boolean
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 |
setGridSize(Size value)
public final void setGridSize(Size value)
Gets or sets the size of the warp grid. Default is 1.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Size |
setMeshLinesSize_internalized(Size value)
public final void setMeshLinesSize_internalized(Size value)
Gets or sets the size of the mesh lines. GridSize it is definition from PS that client can selected. Every GridSize has 4 mesh lines. If the number of GridSize is greater than 1, then the last mesh Line of first Grid and first of the second Grid are one Mesh Line.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Size |
setMeshPoints(PointF[] value)
public final void setMeshPoints(PointF[] value)
Photoshop mesh points
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PointF[] |
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
setRenderQuality(int value)
public final void setRenderQuality(int value)
Gets or sets value of warp render quality - between speed and quality
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
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 |