DroidDiagram Programmer's Guide
DiagramItemStyle Members
Constructors Methods
 


Represents a reusable set of properties that define the appearance of diagram items.

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

 Protected Constructors

  Name Description

DiagramItemStyle

Initializes a new instance of the DiagramItemStyle class.

 Public Methods

  Name Description

addPropertyChangeListener

  (Inherited from Style.)

getBrush

Gets the brush used to fill the interior of the item.

getFontFamily

Gets the font family of the item text.

getFontSize

Gets the font size of the item text.

getFontStyle

Gets the font style of the item text.

getFontUnit

Gets the measure unit used to specify font size.

getShadowBrush

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

getStroke

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

getStrokeThickness

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

getTextBrush

Gets the brush used to paint texts inside the item.

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.)

setBrush

Sets the brush used to fill the interior of the item.

setFontFamily

Sets the font family of the item text.

setFontSize

Sets the font size of the item text.

setFontStyle

Sets the font style of the item text.

setFontUnit

Sets the measure unit used to specify font size.

setShadowBrush

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

setStroke

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

setStrokeThickness

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

setTextBrush

Sets the brush used to paint texts inside the item.

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

DiagramItemStyle Class
com.mindfusion.diagramming Namespace