Pen |
public class PenX3D : IImmutable
The PenX3D type exposes the following members.
| Name | Description | |
|---|---|---|
| PenX3D(IMaterial, ICrossSectionOfLine) | Initializes a new instance of the PenX3D class using the specified material and cross section. | |
| PenX3D(NamedColor, Double) | Initializes a new instance of the PenX3D class using a uniform color and thickness. | |
| PenX3D(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. |
| Name | Description | |
|---|---|---|
| Color | Gets the color exposed by the current material. | |
| CrossSection | Gets the line cross section. | |
| DashEndCap | Gets the cap applied at the end of each dash. | |
| DashPattern | Gets the dash pattern (or null if this pen doesn't use a dash pattern). | |
| DashStartCap | Gets the cap applied at the start of each dash. | |
| IsInvisible | Gets a value indicating whether this pen uses the invisible material. | |
| LineEndCap | Gets the cap applied at the end of the whole line. | |
| LineJoin | Gets the line join style. | |
| LineStartCap | Gets the cap applied at the start of the whole line. | |
| Material | Gets the material used to render the pen. | |
| MiterLimit | Gets the miter limit used when LineJoin is set to miter. | |
| Thickness1 | Gets the first line thickness component. | |
| Thickness2 | Gets the second line thickness component. |
| Name | Description | |
|---|---|---|
| AreEqualUnlessThickness | Determines whether two pens are equal except for their thickness values. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| WithColor | Returns a copy of this pen with a different material color. | |
| WithCrossSection | Returns a copy of this pen with a different cross section. | |
| WithDashEndCap | Returns a copy of this pen with a different dash end cap. | |
| WithDashPattern | Returns a new instance of this pen, with the dash pattern provided in the argument. | |
| WithDashStartCap | Returns a copy of this pen with a different dash start cap. | |
| WithLineEndCap | Returns a copy of this pen with a different line end cap. | |
| WithLineJoin | Returns a copy of this pen with a different line join style. | |
| WithLineStartCap | Returns a copy of this pen with a different line start cap. | |
| WithMaterial | Returns a copy of this pen with a different material. | |
| WithMiterLimit | Returns a copy of this pen with a different miter limit. | |
| WithThickness1 | Returns a copy of this pen with a different first thickness component. | |
| WithThickness2 | Returns a copy of this pen with a different second thickness component. | |
| WithUniformThickness | Returns a copy of this pen with the same thickness in both cross-section dimensions. |