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 IFillSettings
getFillType
in class BaseFillSettings
public final boolean getLinked()
Gets or sets a value indicating whether this PatternFillSettings
is linked.
true
if linked; otherwise, false
.getLinked
in interface IPatternFillSettings
public final void setLinked(boolean value)
Gets or sets a value indicating whether this PatternFillSettings
is linked.
true
if linked; otherwise, false
.setLinked
in interface IPatternFillSettings
public final double getScale()
Gets or sets the scale.
Value: The scale.getScale
in interface IPatternFillSettings
public final void setScale(double value)
Gets or sets the scale.
Value: The scale.setScale
in interface IPatternFillSettings
public 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 IPatternFillSettings
public final void setPointType(String value)
Gets or sets the type of the point.
Value: The type of the point.setPointType
in interface IPatternFillSettings
public final String getPatternName()
Gets or sets the name of the pattern.
Value: The name of the pattern.getPatternName
in interface IPatternFillSettings
public final void setPatternName(String value)
Gets or sets the name of the pattern.
Value: The name of the pattern.setPatternName
in interface IPatternFillSettings
public final String getPatternId()
Gets or sets the pattern identifier.
Value: The pattern identifier.getPatternId
in interface IPatternFillSettings
public final void setPatternId(String value)
Gets or sets the pattern identifier.
Value: The pattern identifier.setPatternId
in interface IPatternFillSettings
public final int getHorizontalOffset()
Gets or sets the horizontal offset.
Value: The horizontal offset.getHorizontalOffset
in interface IPatternFillSettings
public final void setHorizontalOffset(int value)
Gets or sets the horizontal offset.
Value: The horizontal offset.setHorizontalOffset
in interface IPatternFillSettings
value
- public final int getVerticalOffset()
Gets or sets the vertical offset.
Value: The vertical offset.getVerticalOffset
in interface IPatternFillSettings
public final void setVerticalOffset(int value)
Gets or sets the vertical offset.
Value: The vertical offset.setVerticalOffset
in interface IPatternFillSettings
value
- public final int[] getPatternData()
Gets or sets the pattern data.
Value: The pattern data.getPatternData
in interface IPatternFillSettings
public final void setPatternData(int[] value)
Gets or sets the pattern data.
Value: The pattern data.setPatternData
in interface IPatternFillSettings
public final int getPatternWidth()
Gets or sets the width of the pattern.
Value: The width of the pattern.getPatternWidth
in interface IPatternFillSettings
public final void setPatternWidth(int value)
Gets or sets the width of the pattern.
Value: The width of the pattern.setPatternWidth
in interface IPatternFillSettings
public final int getPatternHeight()
Gets or sets the height of the pattern.
Value: The height of the pattern.getPatternHeight
in interface IPatternFillSettings
public final void setPatternHeight(int value)
Gets or sets the height of the pattern.
Value: The height of the pattern.setPatternHeight
in interface IPatternFillSettings
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.
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.OSTypeStructure