PatternFillSettings

Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.layers.fillsettings.BaseFillSettings

All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.fillsettings.IPatternFillSettings

public class PatternFillSettings extends BaseFillSettings implements IPatternFillSettings

Pattern fill effect settings

Constructors

ConstructorDescription
PatternFillSettings()Initializes a new instance of the PatternFillSettings class.

Methods

MethodDescription
equals(Object arg0)
generateLfx2ResourceNodes(String pointType, Color color, String patternName, String identifier, double scale, boolean linked, PointF offset)Generates the LFX2 resource nodes.
getAlignWithLayer()Gets or sets a value indicating whether [link with layer].
getAngle()Gets or sets the angle.
getClass()
getColor()Gets or sets the color.
getFillType()The fill type
getHorizontalOffset()Gets or sets the horizontal offset.
getLinked()Gets or sets a value indicating whether this PatternFillSettings is linked.
getPatternData()Gets or sets the pattern data.
getPatternHeight()Gets or sets the height of the pattern.
getPatternId()Gets or sets the pattern identifier.
getPatternName()Gets or sets the name of the pattern.
getPatternWidth()Gets or sets the width of the pattern.
getPhase_internalized()Gets or sets the phase.
getPointType()Gets or sets the type of the point.
getScale()Gets or sets the scale.
getVerticalOffset()Gets or sets the vertical offset.
hashCode()
notify()
notifyAll()
raiseValueChanged_internalized()Raises the value changed.
setAlignWithLayer(boolean value)Gets or sets a value indicating whether [link with layer].
setAngle(double value)Gets or sets the angle.
setColor(Color value)Gets or sets the color.
setHorizontalOffset(int value)Gets or sets the horizontal offset.
setLinked(boolean value)Gets or sets a value indicating whether this PatternFillSettings is linked.
setPatternData(int[] value)Gets or sets the pattern data.
setPatternHeight(int value)Gets or sets the height of the pattern.
setPatternId(String value)Gets or sets the pattern identifier.
setPatternName(String value)Gets or sets the name of the pattern.
setPatternWidth(int value)Gets or sets the width of the pattern.
setPhase_internalized(OffsetEntity value)Gets or sets the phase.
setPointType(String value)Gets or sets the type of the point.
setScale(double value)Gets or sets the scale.
setVerticalOffset(int value)Gets or sets the vertical offset.
setupDefaultPatternData_internalized(PatternFillSettings settings)Setups the default data of pattern to PatternFillSettings instance.
toString()
updatePatternData_internalized(PattResourceData pattResourceData)Updates the pattern properties from PattResourceData instance.
wait()
wait(long arg0)
wait(long arg0, int arg1)

PatternFillSettings()

public PatternFillSettings()

Initializes a new instance of the PatternFillSettings class.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

generateLfx2ResourceNodes(String pointType, Color color, String patternName, String identifier, double scale, boolean linked, PointF offset)

public static System.Collections.Generic.IGenericEnumerable<OSTypeStructure> generateLfx2ResourceNodes(String pointType, Color color, String patternName, String identifier, double scale, boolean linked, PointF offset)

Generates the LFX2 resource nodes.

Parameters:

ParameterTypeDescription
pointTypejava.lang.StringType of the point.
colorColorThe color.
patternNamejava.lang.StringName of the pattern.
identifierjava.lang.StringThe identifier.
scaledoubleThe scale.
linkedbooleanif set to true [linked].
offsetPointFThe offset.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure> - List of OSTypeStructure

getAlignWithLayer()

public final boolean getAlignWithLayer()

Gets or sets a value indicating whether [link with layer].

Value: true if [link with layer]; otherwise, false .

Returns: boolean

getAngle()

public final double getAngle()

Gets or sets the angle.

Value: The angle.

Returns: double

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

public final Color getColor()

Gets or sets the color.

Value: The color.

Returns: Color

getFillType()

public int getFillType()

The fill type

Returns: int

getHorizontalOffset()

public final int getHorizontalOffset()

Gets or sets the horizontal offset.

Value: The horizontal offset.

Returns: int

getLinked()

public final boolean getLinked()

Gets or sets a value indicating whether this PatternFillSettings is linked.

Value: true if linked; otherwise, false .

Returns: boolean

getPatternData()

public final int[] getPatternData()

Gets or sets the pattern data.

Value: The pattern data.

Returns: int[]

getPatternHeight()

public final int getPatternHeight()

Gets or sets the height of the pattern.

Value: The height of the pattern.

Returns: int

getPatternId()

public final String getPatternId()

Gets or sets the pattern identifier.

Value: The pattern identifier.

Returns: java.lang.String

getPatternName()

public final String getPatternName()

Gets or sets the name of the pattern.

Value: The name of the pattern.

Returns: java.lang.String

getPatternWidth()

public final int getPatternWidth()

Gets or sets the width of the pattern.

Value: The width of the pattern.

Returns: int

getPhase_internalized()

public final OffsetEntity getPhase_internalized()

Gets or sets the phase.

Value: The phase.

Returns: com.aspose.internal.fileformats.psd.layers.layerresources.lfx2resources.OffsetEntity

getPointType()

public final String getPointType()

Gets or sets the type of the point.

Value: The type of the point.

Returns: java.lang.String

getScale()

public final double getScale()

Gets or sets the scale.

Value: The scale.

Returns: double

getVerticalOffset()

public final int getVerticalOffset()

Gets or sets the vertical offset.

Value: The vertical offset.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

raiseValueChanged_internalized()

public final void raiseValueChanged_internalized()

Raises the value changed.

setAlignWithLayer(boolean value)

public final void setAlignWithLayer(boolean value)

Gets or sets a value indicating whether [link with layer].

Value: true if [link with layer]; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setAngle(double value)

public final void setAngle(double value)

Gets or sets the angle.

Value: The angle.

Parameters:

ParameterTypeDescription
valuedouble

setColor(Color value)

public final void setColor(Color value)

Gets or sets the color.

Value: The color.

Parameters:

ParameterTypeDescription
valueColor

setHorizontalOffset(int value)

public final void setHorizontalOffset(int value)

Gets or sets the horizontal offset.

Value: The horizontal offset.

Parameters:

ParameterTypeDescription
valueint

setLinked(boolean value)

public final void setLinked(boolean value)

Gets or sets a value indicating whether this PatternFillSettings is linked.

Value: true if linked; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setPatternData(int[] value)

public final void setPatternData(int[] value)

Gets or sets the pattern data.

Value: The pattern data.

Parameters:

ParameterTypeDescription
valueint[]

setPatternHeight(int value)

public final void setPatternHeight(int value)

Gets or sets the height of the pattern.

Value: The height of the pattern.

Parameters:

ParameterTypeDescription
valueint

setPatternId(String value)

public final void setPatternId(String value)

Gets or sets the pattern identifier.

Value: The pattern identifier.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPatternName(String value)

public final void setPatternName(String value)

Gets or sets the name of the pattern.

Value: The name of the pattern.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPatternWidth(int value)

public final void setPatternWidth(int value)

Gets or sets the width of the pattern.

Value: The width of the pattern.

Parameters:

ParameterTypeDescription
valueint

setPhase_internalized(OffsetEntity value)

public final void setPhase_internalized(OffsetEntity value)

Gets or sets the phase.

Value: The phase.

Parameters:

ParameterTypeDescription
valuecom.aspose.internal.fileformats.psd.layers.layerresources.lfx2resources.OffsetEntity

setPointType(String value)

public final void setPointType(String value)

Gets or sets the type of the point.

Value: The type of the point.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setScale(double value)

public final void setScale(double value)

Gets or sets the scale.

Value: The scale.

Parameters:

ParameterTypeDescription
valuedouble

setVerticalOffset(int value)

public final void setVerticalOffset(int value)

Gets or sets the vertical offset.

Value: The vertical offset.

Parameters:

ParameterTypeDescription
valueint

setupDefaultPatternData_internalized(PatternFillSettings settings)

public static void setupDefaultPatternData_internalized(PatternFillSettings settings)

Setups the default data of pattern to PatternFillSettings instance.

Parameters:

ParameterTypeDescription
settingsPatternFillSettingsThe pattern fill settings.

toString()

public String toString()

Returns: java.lang.String

updatePatternData_internalized(PattResourceData pattResourceData)

public final void updatePatternData_internalized(PattResourceData pattResourceData)

Updates the pattern properties from PattResourceData instance.

Parameters:

ParameterTypeDescription
pattResourceDataPattResourceDataThe PattResourceData instance with pattern data.

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