Packages

 

com.aspose.psd.fileformats.psd.layers.layereffects

Class StrokeEffect

  • java.lang.Object
    • com.aspose.psd.fileformats.psd.layers.layereffects.StrokeEffect
  • All Implemented Interfaces:
    ILayerEffect


    public class StrokeEffect
    extends Object
    implements ILayerEffect

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

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
    • Method Detail

      • 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.
      • setOverprint

        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.
      • 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.

      • setPosition

        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.

      • getSize

        public final int getSize()

        Gets or sets the width of stroke effect.

        Value: The width of the stroke effect.
      • setSize

        public final void setSize(int value)

        Gets or sets the width of stroke effect.

        Value: The width of the stroke effect.
      • getBlendMode

        public final long getBlendMode()

        Gets or sets the blend mode.

        Value: The blend mode.
        Specified by:
        getBlendMode in interface ILayerEffect
      • setBlendMode

        public final void setBlendMode(long value)

        Gets or sets the blend mode.

        Value: The blend mode.
        Specified by:
        setBlendMode in interface ILayerEffect
      • 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.
        Specified by:
        isVisible in interface ILayerEffect
      • setVisible

        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.
        Specified by:
        setVisible in interface ILayerEffect
      • getFillSettings

        public final BaseFillSettings getFillSettings()

        Gets or sets the fill settings.

        Value: The fill settings.
      • setFillSettings

        public final void setFillSettings(BaseFillSettings value)

        Gets or sets the fill settings.

        Value: The fill settings.
      • getOpacity

        public final byte getOpacity()

        Gets or sets the opacity.

        Value: The opacity.
        Specified by:
        getOpacity in interface ILayerEffect
      • setOpacity

        public final void setOpacity(byte value)

        Gets or sets the opacity.

        Value: The opacity.
        Specified by:
        setOpacity in interface ILayerEffect