|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.Style
com.mindfusion.diagramming.DiagramItemStyle
public class DiagramItemStyle
Represents a reusable set of properties that define the appearance of diagram items.
Constructor Summary | |
---|---|
protected |
DiagramItemStyle()
Initializes a new instance of the DiagramItemStyle class. |
Method Summary | |
---|---|
Brush |
getBrush()
Gets the brush used to fill the interior of the item. |
java.lang.String |
getFontFamily()
Gets the font family of the item text. |
float |
getFontSize()
Gets the font size of the item text. |
int |
getFontStyle()
Gets the font style of the item text. |
Brush |
getShadowBrush()
Gets the brush used to paint the shadow of the item. |
Brush |
getStroke()
Gets the brush used to paint the outline of the item. |
double |
getStrokeThickness()
Gets the thickness of the item's outline, expressed in the current units of measure. |
Brush |
getTextBrush()
Gets the brush used to paint texts inside the item. |
void |
setBrush(Brush value)
Sets the brush used to fill the interior of the item. |
void |
setFontFamily(java.lang.String value)
Sets the font family of the item text. |
void |
setFontSize(float value)
Sets the font size of the item text. |
void |
setFontStyle(int value)
Sets the font style of the item text. |
void |
setShadowBrush(Brush value)
Sets the brush used to paint the shadow of the item. |
void |
setStroke(Brush value)
Sets the brush used to paint the outline of the item. |
void |
setStrokeThickness(double value)
Sets the thickness of the item's outline, expressed in the current units of measure. |
void |
setTextBrush(Brush value)
Sets the brush used to paint texts inside the item. |
Methods inherited from class com.mindfusion.diagramming.Style |
---|
addPropertyChangeListener, getValue, isPropertySet, loadFromXml, readExternal, registerProperty, registerType, removePropertyChangeListener, saveToXml, setValue, unsetValue, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DiagramItemStyle()
DiagramItemStyle
class.
Method Detail |
---|
public java.lang.String getFontFamily()
public void setFontFamily(java.lang.String value)
public float getFontSize()
public void setFontSize(float value)
public int getFontStyle()
public void setFontStyle(int value)
public Brush getBrush()
public void setBrush(Brush value)
public Brush getStroke()
public void setStroke(Brush value)
public double getStrokeThickness()
public void setStrokeThickness(double value)
public Brush getShadowBrush()
public void setShadowBrush(Brush value)
public Brush getTextBrush()
public void setTextBrush(Brush value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |