Packages

 

com.aspose.psd.fileformats.psd.layers.fillsettings

Class PatternFillSettings

    • Constructor Detail

      • PatternFillSettings

        public PatternFillSettings()

        Initializes a new instance of the PatternFillSettings class.

    • Method Detail

      • getColor

        public final Color getColor()

        Gets or sets the color.

        Value: The color.
      • setColor

        public final void setColor(Color value)

        Gets or sets the color.

        Value: The color.
      • getScale

        public final double getScale()

        Gets or sets the scale.

        Value: The scale.
        Specified by:
        getScale in interface IPatternFillSettings
      • setScale

        public final void setScale(double value)

        Gets or sets the scale.

        Value: The scale.
        Specified by:
        setScale in interface IPatternFillSettings
      • getAlignWithLayer

        public final boolean getAlignWithLayer()

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

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

        public final void setAlignWithLayer(boolean value)

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

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

        public final void setPointType(String value)

        Gets or sets the type of the point.

        Value: The type of the point.
        Specified by:
        setPointType in interface IPatternFillSettings
      • setPatternName

        public final void setPatternName(String value)

        Gets or sets the name of the pattern.

        Value: The name of the pattern.
        Specified by:
        setPatternName in interface IPatternFillSettings
      • setPatternId

        public final void setPatternId(String value)

        Gets or sets the pattern identifier.

        Value: The pattern identifier.
        Specified by:
        setPatternId in interface IPatternFillSettings
      • getHorizontalOffset

        public final int getHorizontalOffset()

        Gets or sets the horizontal offset.

        Value: The horizontal offset.
        Specified by:
        getHorizontalOffset in interface IPatternFillSettings
      • setHorizontalOffset

        public final void setHorizontalOffset(int value)

        Gets or sets the horizontal offset.

        Value: The horizontal offset.
        Specified by:
        setHorizontalOffset in interface IPatternFillSettings
        Parameters:
        value -
      • getVerticalOffset

        public final int getVerticalOffset()

        Gets or sets the vertical offset.

        Value: The vertical offset.
        Specified by:
        getVerticalOffset in interface IPatternFillSettings
      • setVerticalOffset

        public final void setVerticalOffset(int value)

        Gets or sets the vertical offset.

        Value: The vertical offset.
        Specified by:
        setVerticalOffset in interface IPatternFillSettings
        Parameters:
        value -
      • getPatternData

        public final int[] getPatternData()

        Gets or sets the pattern data.

        Value: The pattern data.
        Specified by:
        getPatternData in interface IPatternFillSettings
      • setPatternData

        public final void setPatternData(int[] value)

        Gets or sets the pattern data.

        Value: The pattern data.
        Specified by:
        setPatternData in interface IPatternFillSettings
      • getPatternWidth

        public final int getPatternWidth()

        Gets or sets the width of the pattern.

        Value: The width of the pattern.
        Specified by:
        getPatternWidth in interface IPatternFillSettings
      • setPatternWidth

        public final void setPatternWidth(int value)

        Gets or sets the width of the pattern.

        Value: The width of the pattern.
        Specified by:
        setPatternWidth in interface IPatternFillSettings
      • getPatternHeight

        public final int getPatternHeight()

        Gets or sets the height of the pattern.

        Value: The height of the pattern.
        Specified by:
        getPatternHeight in interface IPatternFillSettings
      • setPatternHeight

        public final void setPatternHeight(int value)

        Gets or sets the height of the pattern.

        Value: The height of the pattern.
        Specified by:
        setPatternHeight in interface IPatternFillSettings
      • generateLfx2ResourceNodes

        public static com.aspose.ms.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:
        pointType - Type of the point.
        color - The color.
        patternName - Name of the pattern.
        identifier - The identifier.
        scale - The scale.
        linked - if set to true [linked].
        offset - The offset.
        Returns:
        List of OSTypeStructure