Click or drag to resize

PenX3D Class

Immutable 3D pen definition containing material, cross section, dash pattern, and caps.
Inheritance Hierarchy
SystemObject
  Altaxo.Drawing.D3DPenX3D

Namespace: Altaxo.Drawing.D3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class PenX3D : IImmutable

The PenX3D type exposes the following members.

Constructors
 NameDescription
Public methodPenX3D(IMaterial, ICrossSectionOfLine) Initializes a new instance of the PenX3D class using the specified material and cross section.
Public methodPenX3D(NamedColor, Double) Initializes a new instance of the PenX3D class using a uniform color and thickness.
Public methodPenX3D(IMaterial, ICrossSectionOfLine, PenLineJoin, Double, ILineCap, ILineCap, IDashPattern, ILineCap, Boolean, ILineCap, Boolean) Initializes a new instance of the PenX3D class with full line, dash, and cap configuration.
Top
Properties
 NameDescription
Public propertyColor Gets the color exposed by the current material.
Public propertyCrossSection Gets the line cross section.
Public propertyDashEndCap Gets the cap applied at the end of each dash.
Public propertyDashPattern Gets the dash pattern (or null if this pen doesn't use a dash pattern).
Public propertyDashStartCap Gets the cap applied at the start of each dash.
Public propertyIsInvisible Gets a value indicating whether this pen uses the invisible material.
Public propertyLineEndCap Gets the cap applied at the end of the whole line.
Public propertyLineJoin Gets the line join style.
Public propertyLineStartCap Gets the cap applied at the start of the whole line.
Public propertyMaterial Gets the material used to render the pen.
Public propertyMiterLimit Gets the miter limit used when LineJoin is set to miter.
Public propertyThickness1 Gets the first line thickness component.
Public propertyThickness2 Gets the second line thickness component.
Top
Methods
 NameDescription
Public methodStatic memberAreEqualUnlessThickness Determines whether two pens are equal except for their thickness values.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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.
(Inherited from Object)
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 methodWithColor Returns a copy of this pen with a different material color.
Public methodWithCrossSection Returns a copy of this pen with a different cross section.
Public methodWithDashEndCap Returns a copy of this pen with a different dash end cap.
Public methodWithDashPattern Returns a new instance of this pen, with the dash pattern provided in the argument.
Public methodWithDashStartCap Returns a copy of this pen with a different dash start cap.
Public methodWithLineEndCap Returns a copy of this pen with a different line end cap.
Public methodWithLineJoin Returns a copy of this pen with a different line join style.
Public methodWithLineStartCap Returns a copy of this pen with a different line start cap.
Public methodWithMaterial Returns a copy of this pen with a different material.
Public methodWithMiterLimit Returns a copy of this pen with a different miter limit.
Public methodWithThickness1 Returns a copy of this pen with a different first thickness component.
Public methodWithThickness2 Returns a copy of this pen with a different second thickness component.
Public methodWithUniformThickness Returns a copy of this pen with the same thickness in both cross-section dimensions.
Top
See Also