Click or drag to resize

AtalaPen Class

The AtalaPen is used to define a line or border used when drawing primitives onto a Canvas.

Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.DrawingAtalaPen

Namespace:  Atalasoft.Imaging.Drawing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(AtalaPenConverter))]
public class AtalaPen : ICloneable

The AtalaPen type exposes the following members.

Constructors
  NameDescription
Public methodAtalaPen

Initializes a new instance of the AtalaPen class with the object defaults:,Width = 1

Public methodAtalaPen(Color)

Initializes a new instance of the AtalaPen class with the specified color. Using a constructor that specifies the color implies a fill type of solid

Public methodAtalaPen(Fill)
Initializes a new instance of the AtalaPen class with a specified fill.
Public methodAtalaPen(Color, Int32)

Initializes a new instance of the AtalaPen class with a specified color and width.

Public methodAtalaPen(Fill, Int32)

Initializes a new instance of the AtalaPen class with a specified Fill and width.

Public methodAtalaPen(Color, Int32, LineStyle)

Initializes a new instance of the AtalaPen class with a specified color, width, and LineStyle.

Public methodAtalaPen(Fill, Int32, LineStyle)

Initializes a new instance of the AtalaPen class with a specified Fill, width, and LineStyle.

Public methodAtalaPen(Color, Int32, LineStyle, EndCap, CornerJoin)

Initializes a new instance of the AtalaPen class with a specified color, width, LineStyle, EndCap, and CornerJoin.

Public methodAtalaPen(Fill, Int32, LineStyle, EndCap, CornerJoin)

Initializes a new instance of the AtalaPen class with a specified Fill, width, LineStyle, EndCap, and CornerJoin.

Public methodAtalaPen(Color, Int32, LineStyle, EndCap, CornerJoin, Alignment)
Creates a new instance of AtalaPen specifying color, width, LineStyle, EndCap, CornerJoin and Alignment.
Public methodAtalaPen(Fill, Int32, LineStyle, EndCap, CornerJoin, Alignment)
Creates a new instance of AtalaPen specifying the Fill, width, LineStyle, EndCap, CornerJoin and Alignment.
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets a value indicating the line positioning relative to the coordinates.
Public propertyColor
Gets or sets the color of the pen.
Public propertyCornerJoin
Gets or sets the style of corners used for this pen.
Public propertyCustomDashPattern
Gets or sets an array of int's indicating the dash pattern when the LineStyle is set to Custom.
Public propertyEndCap
Gets or sets the pen EndCap used when drawing.
Public propertyFill
Gets or sets the Fill used when drawing with this pen.
Public propertyLineStyle
Gets or sets the type of line drawn with this pen.
Public propertyWidth
Gets or sets the width of the pen in pixels.
Top
Methods
  NameDescription
Public methodClone
Create a copy of this AtalaPen.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also