StrokeEffect

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.layereffects.ILayerEffect

public class StrokeEffect implements ILayerEffect

The Adobe® Photoshop® stroke effect for the PSD layer.

Methods

MethodDescription
create_internalized(IEffectsResource entity)
equals(Object arg0)
getBlendMode()Gets or sets the blend mode.
getClass()
getEffectType()Gets a type of effect
getFillSettings()Gets or sets the fill settings.
getOpacity()Gets or sets the opacity.
getOverprint()Gets or sets a value indicating whether this StrokeEffect will blend stroke against current layer contents.
getPosition()Gets or sets the position of the stroke effect to control the alignment of your stroke to the PSD layer content.
getSize()Gets or sets the width of stroke effect.
hashCode()
isVisible()Gets or sets a value indicating whether this instance is visible.
notify()
notifyAll()
setBlendMode(long value)Gets or sets the blend mode.
setFillSettings(BaseFillSettings value)Gets or sets the fill settings.
setOpacity(byte value)Gets or sets the opacity.
setOverprint(boolean value)Gets or sets a value indicating whether this StrokeEffect will blend stroke against current layer contents.
setPosition(short value)Gets or sets the position of the stroke effect to control the alignment of your stroke to the PSD layer content.
setSize(int value)Gets or sets the width of stroke effect.
setVisible(boolean value)Gets or sets a value indicating whether this instance is visible.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

create_internalized(IEffectsResource entity)

public static StrokeEffect create_internalized(IEffectsResource entity)

Parameters:

ParameterTypeDescription
entitycom.aspose.internal.fileformats.psd.layers.layerresources.lfx2resources.IEffectsResource

Returns: StrokeEffect

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBlendMode()

public final long getBlendMode()

Gets or sets the blend mode.

Value: The blend mode.

Returns: long

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEffectType()

public final int getEffectType()

Gets a type of effect

Returns: int

getFillSettings()

public final BaseFillSettings getFillSettings()

Gets or sets the fill settings.

Value: The fill settings.

Returns: BaseFillSettings

getOpacity()

public final byte getOpacity()

Gets or sets the opacity.

Value: The opacity.

Returns: byte

getOverprint()

public final boolean getOverprint()

Gets or sets a value indicating whether this StrokeEffect will blend stroke against current layer contents.

Value: true if it must blend stroke against current layer contents; otherwise, false .

Returns: boolean

getPosition()

public final short getPosition()

Gets or sets the position of the stroke effect to control the alignment of your stroke to the PSD layer content. The value can be StrokePosition.Inside to draw stroke inside of the PSD layer content, or StrokePosition.Outside to draw stroke around of PSD layer content, and StrokePosition.Center to draw stroke both inside and outside.

Returns: short

getSize()

public final int getSize()

Gets or sets the width of stroke effect.

Value: The width of the stroke effect.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isVisible()

public final boolean isVisible()

Gets or sets a value indicating whether this instance is visible.

Value: true if this instance is visible; otherwise, false .

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBlendMode(long value)

public final void setBlendMode(long value)

Gets or sets the blend mode.

Value: The blend mode.

Parameters:

ParameterTypeDescription
valuelong

setFillSettings(BaseFillSettings value)

public final void setFillSettings(BaseFillSettings value)

Gets or sets the fill settings.

Value: The fill settings.

Parameters:

ParameterTypeDescription
valueBaseFillSettings

setOpacity(byte value)

public final void setOpacity(byte value)

Gets or sets the opacity.

Value: The opacity.

Parameters:

ParameterTypeDescription
valuebyte

setOverprint(boolean value)

public final void setOverprint(boolean value)

Gets or sets a value indicating whether this StrokeEffect will blend stroke against current layer contents.

Value: true if it must blend stroke against current layer contents; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setPosition(short value)

public final void setPosition(short value)

Gets or sets the position of the stroke effect to control the alignment of your stroke to the PSD layer content. The value can be StrokePosition.Inside to draw stroke inside of the PSD layer content, or StrokePosition.Outside to draw stroke around of PSD layer content, and StrokePosition.Center to draw stroke both inside and outside.

Parameters:

ParameterTypeDescription
valueshort

setSize(int value)

public final void setSize(int value)

Gets or sets the width of stroke effect.

Value: The width of the stroke effect.

Parameters:

ParameterTypeDescription
valueint

setVisible(boolean value)

public final void setVisible(boolean value)

Gets or sets a value indicating whether this instance is visible.

Value: true if this instance is visible; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

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