Class Pen
Inheritance
System.Object
Pen
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Mapsui.dll
Syntax
Constructors
|
Improve this Doc
View Source
Pen()
Declaration
|
Improve this Doc
View Source
Pen(Color, Double)
Declaration
public Pen(Color color, double width = 1)
Parameters
Type |
Name |
Description |
Color |
color |
|
System.Double |
width |
|
Properties
|
Improve this Doc
View Source
Color
Declaration
public Color Color { get; set; }
Property Value
|
Improve this Doc
View Source
DashArray
Array for drawing user defined dashes. Should be even and values are
multiplied by line width before drawing.
Declaration
public float[] DashArray { get; set; }
Property Value
Type |
Description |
System.Single[] |
|
|
Improve this Doc
View Source
PenStrokeCap
Defines the end of a line
Declaration
public PenStrokeCap PenStrokeCap { get; set; }
Property Value
|
Improve this Doc
View Source
PenStyle
Style of the line (solid/dashed), which is drawn
Declaration
public PenStyle PenStyle { get; set; }
Property Value
|
Improve this Doc
View Source
StrokeJoin
Defines how line parts are join together
Declaration
public StrokeJoin StrokeJoin { get; set; }
Property Value
|
Improve this Doc
View Source
StrokeMiterLimit
Defines up to which width of line StrokeJoin is used
Declaration
public float StrokeMiterLimit { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Width
Declaration
public double Width { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
|
Improve this Doc
View Source
Equals(Pen)
Declaration
public bool Equals(Pen pen)
Parameters
Type |
Name |
Description |
Pen |
pen |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Operators
|
Improve this Doc
View Source
Equality(Pen, Pen)
Declaration
public static bool operator ==(Pen pen1, Pen pen2)
Parameters
Type |
Name |
Description |
Pen |
pen1 |
|
Pen |
pen2 |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(Pen, Pen)
Declaration
public static bool operator !=(Pen pen1, Pen pen2)
Parameters
Type |
Name |
Description |
Pen |
pen1 |
|
Pen |
pen2 |
|
Returns
Type |
Description |
System.Boolean |
|