WarpSettings

Inheritance: java.lang.Object

public class WarpSettings

Parameters of layer with warp

Constructors

ConstructorDescription
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

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

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

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

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:

ParameterTypeDescription
valueRectangle

setMeshPoints(Point[] value)

public final void setMeshPoints(Point[] value)

Photoshop mesh points

Parameters:

ParameterTypeDescription
valuePoint[]

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

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