PenStyleSetInfo Class

Definition

Contains the StyleSet information about a pen. These are all of the settings that be placed on a Pen like Color, Alignment, LineCap, PenType, etc. The information is used to create a unique hash code for this class which is used in the HybridDictionary for lookup of a particular cached resourse.

public ref class PenStyleSetInfo : ICloneable
public class PenStyleSetInfo : ICloneable
type PenStyleSetInfo = class
    interface ICloneable
Public Class PenStyleSetInfo
Implements ICloneable
Inheritance
PenStyleSetInfo
Implements

Constructors

PenStyleSetInfo()

Properties

Alignment

Gets or sets the PenAlignment information.

Brush

Gets or sets the Brush information for this pen.

Color

Gets or sets the Color information for this pen.

CompoundArray

Gets or sets an array values that specify a compound pen. A compound pen draws a compound line made up of parallel lines and spaces.

CustomEndCap

Gets or sets a custom cap to use at the end of lines drawn with this Pen object.

CustomStartCap

Gets or sets a custom cap to use at the beginning of lines drawn with this Pen object.

DashCap

Gets or sets the cap style used at the end of the dashes that make up dashed lines drawn with this Pen object.

DashOffset

Gets or sets the distance from the start of a line to the beginning of a dash pattern.

DashPattern

Gets or sets an array of custom dashes and spaces.

DashStyle

Gets or sets the style used for dashed lines drawn with this Pen object.

EndCap

Gets or sets the cap style used at the end of lines drawn with this Pen object.

LineJoin

Gets or sets the join style for the ends of two consecutive lines drawn with this Pen object.

MiterLimit

Gets or sets the limit of the thickness of the join on a mitered corner.

StartCap

Gets or sets the cap style used at the beginning of lines drawn with this Pen object.

Transform

Gets or sets the geometric transformation for this Pen object.

Width

Gets or sets the width of this Pen object.

Methods

Clone()

Method to create a new instance of this object with the same instance data.

Equals(Object)

Determines whether the specified object is equal to this one. Only equal if all of their properties are equal.

Equals(Object, Object)

Determines whether the two specified objects are equal to each other

GetHashCode()

Serves as a hash function for a PenStyleSetInfo, suitable for use in hashing algorithms and data structures like a hash table.

Applies to