SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
diagram.DiagramBuilder.DiagramItem Class Reference

Abstract parent class for items added to a diagram. More...

Inheritance diagram for diagram.DiagramBuilder.DiagramItem:
diagram.DiagramBuilder.ArcItem diagram.DiagramBuilder.CompositeItem diagram.DiagramBuilder.LineItem diagram.DiagramBuilder.OvalItem diagram.DiagramBuilder.PolygonItem diagram.DiagramBuilder.RectangleItem diagram.DiagramBuilder.TextItem diagram.DiagramBuilder.DimensionItem diagram.DiagramBuilder.LabeledArrowItem diagram.DiagramBuilder.Layout3DPolygonItem

Methods defined here:

def ClearHighlight
def ClearHover
def Draw
def Erase
def Highlight
def Hover
def __init__

Static methods defined here:

def CleanArgs

Data and other attributes defined here:

float expansion_factor = 100.0

Detailed Description

Abstract parent class for items added to a diagram.

Inheriting classes should override the _DrawCore() function. The Highlight and ClearHighlight functions may be overridden if their default behavior is not sufficient. See also CompositeItem for creating more complex diagram item types.

Constructor & Destructor Documentation

def diagram.DiagramBuilder.DiagramItem.__init__ (   args)

Member Function Documentation

def diagram.DiagramBuilder.DiagramItem.CleanArgs (   args)
def diagram.DiagramBuilder.DiagramItem.ClearHighlight (   args)
def diagram.DiagramBuilder.DiagramItem.ClearHover (   args)
def diagram.DiagramBuilder.DiagramItem.Draw (   args)
def diagram.DiagramBuilder.DiagramItem.Erase (   args)
def diagram.DiagramBuilder.DiagramItem.Highlight (   args)
def diagram.DiagramBuilder.DiagramItem.Hover (   args)

Member Data Documentation

float diagram.DiagramBuilder.DiagramItem.expansion_factor = 100.0
static