Click or drag to resize

PenX Methods

The PenX type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAreEqualUnlessWidth Determines whether two pens are equal when width differences are ignored.
Protected methodCalculateHash Calculates the hash code for the current pen state.
Public methodEquals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Public methodEquals(PenX)Indicates whether the current object is equal to another object of the same type.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWithAlignment Returns a copy of this pen with a different alignment.
Public methodWithBrush Returns a copy of this pen with a different brush.
Public methodWithColor Returns a copy of this pen with a different foreground color.
Public methodWithCompoundArray Returns a copy of this pen with a different compound array.
Public methodWithDashCap Returns a copy of this pen with a different dash cap style.
Public methodWithDashPattern Returns a copy of this pen with a different dash pattern.
Public methodWithEndCap Returns a copy of this pen with a different end cap.
Public methodWithLineJoin Returns a copy of this pen with a different line join.
Public methodWithMiterLimit Returns a copy of this pen with a different miter limit.
Public methodWithStartCap Returns a copy of this pen with a different start cap.
Public methodWithTransformation Returns a copy of this pen with a different transformation matrix.
Public methodWithWidth Returns a copy of this pen with a different width.
Top
See Also