Packages

 

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

Class PatternFillSettings

    • Method Detail

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

        public final Color getColor()

        Gets the color.

        Value: The color.
        Returns:
        the color.
      • setColor

        public final void setColor(Color value)

        Sets the color.

        Value: The color.
        Parameters:
        value - the color.
      • getScale

        public final double getScale()

        Gets the scale.

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

        public final void setScale(double value)

        Sets the scale.

        Value: The scale.
        Specified by:
        setScale in interface IPatternFillSettings
        Parameters:
        value - the scale.
      • getAlignWithLayer

        public final boolean getAlignWithLayer()

        Gets a value indicating whether [link with layer].

        Value: true if [link with layer]; otherwise, false.
        Returns:
        a value indicating whether [link with layer].
      • setAlignWithLayer

        public final void setAlignWithLayer(boolean value)

        Sets a value indicating whether [link with layer].

        Value: true if [link with layer]; otherwise, false.
        Parameters:
        value - a value indicating whether [link with layer].
      • getPointType

        public final String getPointType()

        Gets the type of the point.

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

        public final void setPointType(String value)

        Sets the type of the point.

        Value: The type of the point.
        Specified by:
        setPointType in interface IPatternFillSettings
        Parameters:
        value - the type of the point.
      • getPatternName

        public final String getPatternName()

        Gets the name of the pattern.

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

        public final void setPatternName(String value)

        Sets the name of the pattern.

        Value: The name of the pattern.
        Specified by:
        setPatternName in interface IPatternFillSettings
        Parameters:
        value - the name of the pattern.
      • getPatternId

        public final String getPatternId()

        Gets the pattern identifier.

        Value: The pattern identifier.
        Specified by:
        getPatternId in interface IPatternFillSettings
        Returns:
        the pattern identifier.
      • setPatternId

        public final void setPatternId(String value)

        Sets the pattern identifier.

        Value: The pattern identifier.
        Specified by:
        setPatternId in interface IPatternFillSettings
        Parameters:
        value - the pattern identifier.
      • getHorizontalOffset

        public final int getHorizontalOffset()

        Gets the horizontal offset.

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

        public final void setHorizontalOffset(int value)

        Sets the horizontal offset.

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

        public final int getVerticalOffset()

        Gets the vertical offset.

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

        public final void setVerticalOffset(int value)

        Sets the vertical offset.

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

        public final int[] getPatternData()

        Gets the pattern data.

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

        public final void setPatternData(int[] value)

        Sets the pattern data.

        Value: The pattern data.
        Specified by:
        setPatternData in interface IPatternFillSettings
        Parameters:
        value - the pattern data.
      • getPatternWidth

        public final int getPatternWidth()

        Gets the width of the pattern.

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

        public final void setPatternWidth(int value)

        Sets the width of the pattern.

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

        public final int getPatternHeight()

        Gets the height of the pattern.

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

        public final void setPatternHeight(int value)

        Sets the height of the pattern.

        Value: The height of the pattern.
        Specified by:
        setPatternHeight in interface IPatternFillSettings
        Parameters:
        value - the height of the pattern.