CADability dotNET
Namespace for classes defining attributes for geometric objects lice styl, color, layer etc.
Classes
Class | Description | |
---|---|---|
AttributeException |
ApplicationException class raised by various operations with attributes.
| |
AttributeListContainer |
static Funktions to manage IAttributeListContainer and IAttributeList objects
| |
ChangeEventArgs | ||
CheckedAttributes |
Shows a list of Attributes as checkboxes.
| |
CheckedLayerList |
A collapsable treeview entry for the ControlCenter that presents to the user all layers of the
provided list with a checkbox next to each layer. The titel of the entry is specified by
the provided resourceId.
| |
ColorDef |
Summary description for ColorDef.
| |
ColorList |
Eine Tabelle von benannten Farben. Die Tabelle ist serialisierbar und wird gewöhnlich
in einem "Settings" Objekt gespeichert. Die Tabelle kann in der EigenschaftenAnzeige
interaktiv manipuliert werden.
| |
DimensionStyle | ||
DimensionStyleList |
The DimensionStyleList contains the list of available dimension styles (DimensionStyle). It is
owned by the project or the global settings. It implements IShowProperty to
make it available in the tree voew of the control center.
| |
Filter |
This class filters IGeoObjects according to their attributes or other properties.
A Project contains a FilterList which contains Filters. The task of a filter
is to decide, whether a IGeoObject is accepted by this filter or not. The FilterList is
used by the [!:SelectObjectsAction] to decide, whether an object may be selected or not.
Filters may also be used for other purposes. In this standard implementation the attributes of a IGeoObject
and the type of the object are used to accept or reject an object.
You may derive a class from this Filter class and handle the static Constructor delegate
by constructing your own filter. In your derived class you can use any criteria of a IGeoObject
for filtering, e.g. the contents of UserData.
| |
FilterList |
A FilterList is a list of Filters. The Project owns a FilterList which is used
by the [!:CADAbility.Actions.SelectObjectsAction] to decide which IGeoObjects may be selected or must be rejected.
You may add a handler to the PreFilterEvent event to do your own filtering or use the
default filtering machanism (or both). The FilterList of the project is displayed in the ControlCenter
and may be interactively manipulated.
| |
HatchStyle |
Abstract base class for all hatchstyles. A hatchstyle is used to define the
interior of a Hatch object.
| |
HatchStyleContour |
An implementation of a HatchStyle, that defines a style consisting of
contours inside the shape.
| |
HatchStyleLines |
An implementation of a HatchStyle, that defines a style consisting of
parallel lines.
| |
HatchStyleList |
List of HatchStyle derived objects. Typically a Project
or the Settings maintain such a list.
The list is serializable and can be shown and modified in the ControlCenter.
There can not be two hatchstyles with the same name.
| |
HatchStyleSolid |
A HatchStyle which fills the shape with a solid color.
May be used as a base class for different kinds of solid fillings.
| |
Layer |
A Layer is an attribute to IGeoObject objects.
With several layers you can group the GeoObjects in a Model.
In a ModelView you can select which layers are visible.
In a Filter you can select which layers are be pickable
The property DisplayOrder affects the order of display or printing
if the according feature is enabled in a ModelView or Layout.
Layer implements the IShowProperty interface to present ist properties.
| |
LayerComparer | ||
LayerList |
Eine Liste von Layern, immer alphabetisch nach Namen sortiert.
Die Namen müssen eindeutig sein. Das Zufügen bzw. Umbenennen eines Layers, so
dass Mehrdeutigkeiten entstehen würden, führt zu einer Exception.
| |
LayerSelectionProperty | ||
LinePattern | ||
LinePatternList | ||
LineWidth |
Describes a line width. The "onedimensional" GeoObjects (e.g. Line, Ellipse,
BSpline) have a line with as an attribute. The main propertie of the line width
are the width and the scaling system (LineWidth..::..Scaling), which defines how to interpret the width.
| |
LineWidthList | ||
NamedAttributeComparer |
Comparer to sort lists of INamedAttributes[!:Layerlist].
| |
Style | ||
StyleList | ||
StyleSelectionProperty |
Interfaces
Interface | Description | |
---|---|---|
IAttributeList |
Interface implemented by lists of attributes, e.g. LayerList.
| |
IAttributeListContainer | ||
IColorDef |
Interface to handle the colors of IGeoObject objects
| |
IHatchStyle | ||
ILayer |
Interface supported by all objects that have a Layer proerty
| |
ILinePattern | ||
ILineWidth | ||
INameChange |
Interface used by named objects, like attributs (e.g. FilterList)
| |
IStyle |
Interface to be implemented by objects that have a (changable) Style property
|
Delegates
Delegate | Description | |
---|---|---|
AttributeChangedDelegate | ||
AttributeChangeDelegate | ||
CheckedLayerList..::..CheckStateChangedDelegate |
Delegate definition for the CheckStateChangedEvent, which is called when the user
changes the checkbox next to a layer
| |
DimensionStyle..::..PropertyChangedDelegate | ||
Filter..::..ConstructionDelegate |
Delegate definition for overridable constructor. Used only for custom filters.
| |
FilterList..::..PreFilterDelegate |
Delegate definition for an FilterList event to allow pre-filtering of acceptance of IGeoObject objects.
| |
HatchStyleList..::..CreateHatchStyleListDelegate | ||
LayerList..::..LayerAddedDelegate | ||
LayerList..::..LayerRemovedDelegate | ||
LayerSelectionProperty..::..LayerChangedDelegate | ||
StyleSelectionProperty..::..StyleChangedDelegate |
Enumerations
Enumeration | Description | |
---|---|---|
AttributeException..::..AttributeExceptionType |
Type of exception
| |
ColorDef..::..ColorSource | ||
ColorList..::..StaticFlags | ||
DimensionStyle..::..EAngleFlag | ||
DimensionStyle..::..EAngleText | ||
DimensionStyle..::..EFontFlag | ||
DimensionStyle..::..EGeoFlag | ||
DimensionStyle..::..EPointFlag | ||
DimensionStyle..::..ERadiusFlag | ||
DimensionStyle..::..ESymbol | ||
DimensionStyle..::..ESymbolFlag | ||
DimensionStyle..::..ESymbolPlacement | ||
DimensionStyle..::..ETextFlag | ||
DimensionStyle..::..ETypeFlag | ||
HatchStyleContour..::..EHoleMode |
How to proceed with holes in the area to be filled.
| |
HatchStyleContour..::..ESpiralMode |
Parallel or continous filling modes
| |
LayerUsage | ||
LinePattern..::..Scaling |
Scaling system of the line pattern.
| |
LineWidth..::..Scaling |
Scaling system of the line width.
| |
Style..::..EDefaultFor |
Category of objects to provide different default styles
|