public class CmxFillStyle extends Object
Fill style for shapes.
Constructor and Description |
---|
CmxFillStyle() |
Modifier and Type | Method and Description |
---|---|
CmxColor |
getColor1()
Gets the primary color.
|
CmxColor |
getColor2()
Gets the secondary color.
|
int |
getFillType()
Gets the type of the fill.
|
CmxGradient |
getGradient()
Gets the gradient info.
|
CmxImageFill |
getImageFill()
Gets the image fill info.
|
Matrix |
getTransform()
Gets the fill transform.
|
void |
setColor1(CmxColor value)
Sets the primary color.
|
void |
setColor2(CmxColor value)
Sets the secondary color.
|
void |
setFillType(int value)
Sets the type of the fill.
|
void |
setGradient(CmxGradient value)
Sets the gradient info.
|
void |
setImageFill(CmxImageFill value)
Sets the image fill info.
|
void |
setTransform(Matrix value)
Sets the fill transform.
|
String |
toString()
Returns a
String that represents this instance. |
public final int getFillType()
Gets the type of the fill.
public final void setFillType(int value)
Sets the type of the fill.
value
- the type of the fill.public final CmxColor getColor1()
Gets the primary color.
public final void setColor1(CmxColor value)
Sets the primary color.
value
- the primary color.public final CmxColor getColor2()
Gets the secondary color.
public final void setColor2(CmxColor value)
Sets the secondary color.
value
- the secondary color.public final CmxGradient getGradient()
Gets the gradient info.
public final void setGradient(CmxGradient value)
Sets the gradient info.
value
- the gradient info.public final CmxImageFill getImageFill()
Gets the image fill info.
public final void setImageFill(CmxImageFill value)
Sets the image fill info.
value
- the image fill info.public final Matrix getTransform()
Gets the fill transform.
public final void setTransform(Matrix value)
Sets the fill transform.
value
- the fill transform.