public class StrokeEffect extends Object implements ILayerEffect
The Adobe® Photoshop® stroke effect for the PSD layer.
Modifier and Type | Method and Description |
---|---|
long |
getBlendMode()
Gets or sets the blend mode.
|
BaseFillSettings |
getFillSettings()
Gets or sets the fill settings.
|
byte |
getOpacity()
Gets or sets the opacity.
|
boolean |
getOverprint()
Gets or sets a value indicating whether this
StrokeEffect will blend stroke against current layer contents. |
short |
getPosition()
Gets or sets the position of the stroke effect to control the alignment of your stroke to the PSD layer content.
|
int |
getSize()
Gets or sets the width of stroke effect.
|
boolean |
isVisible()
Gets or sets a value indicating whether this instance is visible.
|
void |
setBlendMode(long value)
Gets or sets the blend mode.
|
void |
setFillSettings(BaseFillSettings value)
Gets or sets the fill settings.
|
void |
setOpacity(byte value)
Gets or sets the opacity.
|
void |
setOverprint(boolean value)
Gets or sets a value indicating whether this
StrokeEffect will blend stroke against current layer contents. |
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.
|
void |
setSize(int value)
Gets or sets the width of stroke effect.
|
void |
setVisible(boolean value)
Gets or sets a value indicating whether this instance is visible.
|
public final boolean getOverprint()
Gets or sets a value indicating whether this StrokeEffect
will blend stroke against current layer contents.
true
if it must blend stroke against current layer contents; otherwise, false
.public final void setOverprint(boolean value)
Gets or sets a value indicating whether this StrokeEffect
will blend stroke against current layer contents.
true
if it must blend stroke against current layer contents; otherwise, false
.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.
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.
public final int getSize()
Gets or sets the width of stroke effect.
Value: The width of the stroke effect.public final void setSize(int value)
Gets or sets the width of stroke effect.
Value: The width of the stroke effect.public final long getBlendMode()
Gets or sets the blend mode.
Value: The blend mode.getBlendMode
in interface ILayerEffect
public final void setBlendMode(long value)
Gets or sets the blend mode.
Value: The blend mode.setBlendMode
in interface ILayerEffect
public final boolean isVisible()
Gets or sets a value indicating whether this instance is visible.
Value:true
if this instance is visible; otherwise, false
.isVisible
in interface ILayerEffect
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
.setVisible
in interface ILayerEffect
public final BaseFillSettings getFillSettings()
Gets or sets the fill settings.
Value: The fill settings.public final void setFillSettings(BaseFillSettings value)
Gets or sets the fill settings.
Value: The fill settings.public final byte getOpacity()
Gets or sets the opacity.
Value: The opacity.getOpacity
in interface ILayerEffect
public final void setOpacity(byte value)
Gets or sets the opacity.
Value: The opacity.setOpacity
in interface ILayerEffect