Class Line
Represents the line used by the presentation model.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class Line
Constructors
Line()
Initializes a new instance of the line class.
Declaration
public Line()
Fields
type
Gets or sets the type associated with this object.
Declaration
protected LineType type
Field Value
| Type | Description |
|---|---|
| LineType |
Properties
AutomaticColor
Gets or sets the automatic color associated with this object.
Declaration
public bool AutomaticColor { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
BeginArrowSize
Gets or sets the begin arrow size associated with this object.
Declaration
public ArrowSize BeginArrowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowSize |
BeginArrowType
Gets or sets the begin arrow type associated with this object.
Declaration
public ArrowType BeginArrowType { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowType |
CapType
Gets or sets the cap type associated with this object.
Declaration
public LineCap CapType { get; set; }
Property Value
| Type | Description |
|---|---|
| LineCap |
Color
Gets or sets the color associated with this object.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
CompoundType
Gets or sets the compound type associated with this object.
Declaration
public CompoundLine CompoundType { get; set; }
Property Value
| Type | Description |
|---|---|
| CompoundLine |
DashType
Gets or sets the dash type associated with this object.
Declaration
public DashType DashType { get; set; }
Property Value
| Type | Description |
|---|---|
| DashType |
DrawingColor
Gets or sets the drawing color associated with this object.
Declaration
public DrawingColor DrawingColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
EndArrowSize
Gets or sets the end arrow size associated with this object.
Declaration
public ArrowSize EndArrowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowSize |
EndArrowType
Gets or sets the end arrow type associated with this object.
Declaration
public ArrowType EndArrowType { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowType |
Gradient
Gets or sets the gradient associated with this object.
Declaration
public GradientFill Gradient { get; set; }
Property Value
| Type | Description |
|---|---|
| GradientFill |
JoinType
Gets or sets the join type associated with this object.
Declaration
public LineJoinType JoinType { get; set; }
Property Value
| Type | Description |
|---|---|
| LineJoinType |
Transparency
Gets or sets the transparency associated with this object.
Declaration
public decimal Transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Type
Gets or sets the type associated with this object.
Declaration
public LineType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| LineType |
WidthEmu
Gets or sets the width emu associated with this object.
Declaration
public long WidthEmu { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
WidthPoints
Gets or sets the width points associated with this object.
Declaration
public double WidthPoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
OnTypeChanged()
Handles on type changed for this line.
Declaration
protected virtual void OnTypeChanged()