WarpSettings

Inheritance: java.lang.Object

public class WarpSettings

Parameters of layer with warp

Constructors

ConstructorDescription
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

FieldDescription
DefaultRenderQuality_internalizedThe default value of ProcessingArea

Methods

MethodDescription
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:

ParameterTypeDescription
meshPointsPointF[]The mesh points of warp
boundsRectangleThe 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:

ParameterTypeDescription
meshPointsPointF[]The mesh points of warp
boundsRectangleThe bounds of warp image
styleintThe style of warp

WarpSettings(OSTypeStructure[] warpItems, Rectangle bounds)

public WarpSettings(OSTypeStructure[] warpItems, Rectangle bounds)

Initializes a new instance of the WarpSettings class.

Parameters:

ParameterTypeDescription
warpItemsOSTypeStructure[]PS items with warp settings
boundsRectangleThe bounds of warp image

WarpSettings(PlacedResource placedResource)

public WarpSettings(PlacedResource placedResource)

Initializes a new instance of the WarpSettings class.

Parameters:

ParameterTypeDescription
placedResourcePlacedResourceThe 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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueRectangle

setGridSize(Size value)

public final void setGridSize(Size value)

Gets or sets the size of the warp grid. Default is 1.

Parameters:

ParameterTypeDescription
valueSize

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:

ParameterTypeDescription
valueSize

setMeshPoints(PointF[] value)

public final void setMeshPoints(PointF[] value)

Photoshop mesh points

Parameters:

ParameterTypeDescription
valuePointF[]

setMeshPoints_internalized(PlacedResource placedResource)

public final PlacedResource setMeshPoints_internalized(PlacedResource placedResource)

It returns mesh point from resource vectors

Parameters:

ParameterTypeDescription
placedResourcePlacedResourceThe 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:

ParameterTypeDescription
valueint

setRotate(int value)

public final void setRotate(int value)

Gets or sets rotate value

Parameters:

ParameterTypeDescription
valueint

setStyle(int value)

public final void setStyle(int value)

Gets or sets style of warp

Parameters:

ParameterTypeDescription
valueint

setValue(double value)

public final void setValue(double value)

Gets or sets value of warp

Parameters:

ParameterTypeDescription
valuedouble

setWarpToResource_internalized(OSTypeStructure[] warpItems)

public final OSTypeStructure[] setWarpToResource_internalized(OSTypeStructure[] warpItems)

It save this warp params to PlacedResource

Parameters:

ParameterTypeDescription
warpItemsOSTypeStructure[]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:

ParameterTypeDescription
placedResourcePlacedResourceThe 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int