ASP.NET Pack Programmer's Guide
Style Members
Constructors Methods
 


Represents a set of appearance properties whose values can be inherited from parent objects if not set locally for an item.

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

 Public Constructors

  Name Description

Style

Initializes a new instance of the Style class.

 Public Methods

  Name Description

getBackBrush

Gets the brush used to fill the diagram background.

getBrush

Gets the brush used to fill the interior of diagram items.

getFontName

Gets the name of the font used to draw text of diagram items.

getFontSize

Gets the size of the font used to draw text of diagram items.

getFontStyle

Gets the style of the font used to draw text of diagram items.

getNodeEffects

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

getShadowColor

Gets the color used to draw shadows of diagram items.

getStroke

Gets the color used to stroke the frame of diagram items.

getStrokeDashStyle

Gets the line dash pattern applied when stroking the frame of diagram items.

getStrokeThickness

Gets the line width applied when stroking the frame of diagram items.

getTextColor

Gets the color used to draw text of diagram items.

init

Returns a Builder object used to configure this Style instance.

setBackBrush

Sets an object that specifies how to paint the interior of the diagram background.

setBrush

Sets an object that specifies how to paint the interior of diagram items.

setFontName

Sets the name of the font used to draw text of diagram items.

setFontSize

Sets the size of the font used to draw text of diagram items.

setFontStyle

Sets the style of the font used to draw text of diagram items.

setNodeEffects

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

setShadowColor

Sets the color used to draw shadows of diagram items.

setStroke

Sets the color used to stroke the frame of diagram items.

setStrokeDashStyle

Sets the line dash pattern applied when stroking the frame of diagram items.

setStrokeThickness

Sets the line width applied when stroking the frame of diagram items.

setTextColor

Sets the color used to draw text of diagram items.

With

Returns a Builder object used to configure and create new Style instances.

 See Also

Style Class
MindFusion.Diagramming Namespace