DroidDiagram Programmer's Guide
DiagramStyle Members
Constructors Methods
 


Represents a reusable set of properties that define the appearance of diagrams.

The following tables list the members exposed by the DiagramStyle type.

 Public Constructors

  Name Description

DiagramStyle

Initializes a new instance of the DiagramStyle class.

 Public Methods

  Name Description

addPropertyChangeListener

  (Inherited from Style.)

getBackBrush

Gets the brush used for painting the diagram background.

getBrush

Gets the brush used to fill the interior of items.

getFontFamily

Gets the font family of the item texts.

getFontSize

Gets the font size of the item texts.

getFontStyle

Gets the font style of the item texts.

getFontUnit

Gets the measure unit used to specify font size.

getNodeEffects

Gets a list with all effects applied to the nodes of this diagram.

getShadowBrush

Gets the brush used to paint the shadow of the items.

getStroke

Gets the brush used to paint the outline of the items.

getStrokeThickness

Gets the thickness of the items' outline, expressed in the current units of measure.

getTextBrush

Gets the brush used to paint texts inside the items.

readExternal

Externalizable.readExternal implementation. (Inherited from Style.)

registerType

Associates a type with an alias. The alias is used when saving and loading objects of the specified type during style serialization and deserialization. (Inherited from Style.)

removePropertyChangeListener

  (Inherited from Style.)

setBackBrush

Sets the brush used for painting the diagram background.

setBrush

Sets the brush used to fill the interior of items.

setFontFamily

Sets the font family of the item texts.

setFontSize

Sets the font size of the item texts.

setFontStyle

Gets the font style of the item texts.

setFontUnit

Sets the measure unit used to specify font size.

setShadowBrush

Sets the brush used to paint the shadow of the items.

setStroke

Sets the brush used to paint the outline of the items.

setStrokeThickness

Sets the thickness of the items' outline, expressed in the current units of measure.

setTextBrush

Sets the brush used to paint texts inside the items.

writeExternal

Externalizable.writeExternal implementation. (Inherited from Style.)

 Protected Methods

  Name Description

getValue

Gets the value of the specified property. (Inherited from Style.)

isPropertySet

Checks whether the specified property has a value. (Inherited from Style.)

loadFromXml

Loads the style content from an XML element. (Inherited from Style.)

registerProperty

Registers a new property with the specified name and type. (Inherited from Style.)

saveToXml

Saves the style content into an XML element. (Inherited from Style.)

setValue

Sets the value of the specified property. (Inherited from Style.)

unsetValue

Clears the value of the specified property. (Inherited from Style.)

 See Also

DiagramStyle Class
com.mindfusion.diagramming Namespace