public class PatternFillSettings extends BaseFillSettings implements IPatternFillSettings
Pattern fill effect settings
| Constructor and Description |
|---|
PatternFillSettings()
Initializes a new instance of the
PatternFillSettings class. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
getAlignWithLayer()
Gets or sets a value indicating whether [link with layer].
|
Color |
getColor()
Gets or sets the color.
|
int |
getFillType()
The fill type
|
int |
getHorizontalOffset()
Gets or sets the horizontal offset.
|
boolean |
getLinked()
Gets or sets a value indicating whether this
PatternFillSettings is linked. |
int[] |
getPatternData()
Gets or sets the pattern data.
|
int |
getPatternHeight()
Gets or sets the height of the pattern.
|
String |
getPatternId()
Gets or sets the pattern identifier.
|
String |
getPatternName()
Gets or sets the name of the pattern.
|
int |
getPatternWidth()
Gets or sets the width of the pattern.
|
String |
getPointType()
Gets or sets the type of the point.
|
double |
getScale()
Gets or sets the scale.
|
int |
getVerticalOffset()
Gets or sets the vertical offset.
|
void |
setAlignWithLayer(boolean value)
Gets or sets a value indicating whether [link with layer].
|
void |
setColor(Color value)
Gets or sets the color.
|
void |
setHorizontalOffset(int value)
Gets or sets the horizontal offset.
|
void |
setLinked(boolean value)
Gets or sets a value indicating whether this
PatternFillSettings is linked. |
void |
setPatternData(int[] value)
Gets or sets the pattern data.
|
void |
setPatternHeight(int value)
Gets or sets the height of the pattern.
|
void |
setPatternId(String value)
Gets or sets the pattern identifier.
|
void |
setPatternName(String value)
Gets or sets the name of the pattern.
|
void |
setPatternWidth(int value)
Gets or sets the width of the pattern.
|
void |
setPointType(String value)
Gets or sets the type of the point.
|
void |
setScale(double value)
Gets or sets the scale.
|
void |
setVerticalOffset(int value)
Gets or sets the vertical offset.
|
public PatternFillSettings()
Initializes a new instance of the PatternFillSettings class.
public final Color getColor()
Gets or sets the color.
Value: The color.public final void setColor(Color value)
Gets or sets the color.
Value: The color.public int getFillType()
The fill type
getFillType in interface IFillSettingsgetFillType in class BaseFillSettingspublic final boolean getLinked()
Gets or sets a value indicating whether this PatternFillSettings is linked.
true if linked; otherwise, false.getLinked in interface IPatternFillSettingspublic final void setLinked(boolean value)
Gets or sets a value indicating whether this PatternFillSettings is linked.
true if linked; otherwise, false.setLinked in interface IPatternFillSettingspublic final double getScale()
Gets or sets the scale.
Value: The scale.getScale in interface IPatternFillSettingspublic final void setScale(double value)
Gets or sets the scale.
Value: The scale.setScale in interface IPatternFillSettingspublic final boolean getAlignWithLayer()
Gets or sets a value indicating whether [link with layer].
Value:true if [link with layer]; otherwise, false.public final void setAlignWithLayer(boolean value)
Gets or sets a value indicating whether [link with layer].
Value:true if [link with layer]; otherwise, false.public final String getPointType()
Gets or sets the type of the point.
Value: The type of the point.getPointType in interface IPatternFillSettingspublic final void setPointType(String value)
Gets or sets the type of the point.
Value: The type of the point.setPointType in interface IPatternFillSettingspublic final String getPatternName()
Gets or sets the name of the pattern.
Value: The name of the pattern.getPatternName in interface IPatternFillSettingspublic final void setPatternName(String value)
Gets or sets the name of the pattern.
Value: The name of the pattern.setPatternName in interface IPatternFillSettingspublic final String getPatternId()
Gets or sets the pattern identifier.
Value: The pattern identifier.getPatternId in interface IPatternFillSettingspublic final void setPatternId(String value)
Gets or sets the pattern identifier.
Value: The pattern identifier.setPatternId in interface IPatternFillSettingspublic final int getHorizontalOffset()
Gets or sets the horizontal offset.
Value: The horizontal offset.getHorizontalOffset in interface IPatternFillSettingspublic final void setHorizontalOffset(int value)
Gets or sets the horizontal offset.
Value: The horizontal offset.setHorizontalOffset in interface IPatternFillSettingsvalue - public final int getVerticalOffset()
Gets or sets the vertical offset.
Value: The vertical offset.getVerticalOffset in interface IPatternFillSettingspublic final void setVerticalOffset(int value)
Gets or sets the vertical offset.
Value: The vertical offset.setVerticalOffset in interface IPatternFillSettingsvalue - public final int[] getPatternData()
Gets or sets the pattern data.
Value: The pattern data.getPatternData in interface IPatternFillSettingspublic final void setPatternData(int[] value)
Gets or sets the pattern data.
Value: The pattern data.setPatternData in interface IPatternFillSettingspublic final int getPatternWidth()
Gets or sets the width of the pattern.
Value: The width of the pattern.getPatternWidth in interface IPatternFillSettingspublic final void setPatternWidth(int value)
Gets or sets the width of the pattern.
Value: The width of the pattern.setPatternWidth in interface IPatternFillSettingspublic final int getPatternHeight()
Gets or sets the height of the pattern.
Value: The height of the pattern.getPatternHeight in interface IPatternFillSettingspublic final void setPatternHeight(int value)
Gets or sets the height of the pattern.
Value: The height of the pattern.setPatternHeight in interface IPatternFillSettingspublic 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.
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.OSTypeStructureCopyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.