Class Wipeout
Represents a wipeout EntityObject.
Inherited Members
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class Wipeout : EntityObject, IHasXData, ICloneable
Remarks
The Wipeout DXF definition includes three variables for brightness, contrast, and fade but those variables have no effect; in AutoCad you cannot even change them.
The Wipeout entity is related with the system variable WIPEOUTFRAME but this variable is not saved in a DXF.
Constructors
| Improve this Doc View SourceWipeout(ClippingBoundary)
Initializes a new instance of the Wipeout class.
Declaration
public Wipeout(ClippingBoundary clippingBoundary)
Parameters
| Type | Name | Description |
|---|---|---|
| ClippingBoundary | clippingBoundary | The wipeout clipping boundary. |
Wipeout(Vector2, Vector2)
Initializes a new instance of the Wipeout class as a rectangular wipeout from two opposite corners.
Declaration
public Wipeout(Vector2 firstCorner, Vector2 secondCorner)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | firstCorner | Rectangle firstCorner in local coordinates. |
| Vector2 | secondCorner | Rectangle secondCorner in local coordinates. |
Wipeout(IEnumerable<Vector2>)
Initializes a new instance of the Wipeout class as a polygonal wipeout.
Declaration
public Wipeout(IEnumerable<Vector2> vertexes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<Vector2> | vertexes | The list of vertexes of the wipeout. |
Wipeout(Double, Double, Double, Double)
Initializes a new instance of the Wipeout class as a rectangular wipeout.
Declaration
public Wipeout(double x, double y, double width, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | Rectangle x-coordinate of the bottom-left corner in local coordinates. |
| System.Double | y | Rectangle y-coordinate of the bottom-left corner in local coordinates. |
| System.Double | width | Rectangle width in local coordinates. |
| System.Double | height | Rectangle height in local coordinates. |
Properties
| Improve this Doc View SourceClippingBoundary
Gets or sets the wipeout clipping boundary.
Declaration
public ClippingBoundary ClippingBoundary { get; set; }
Property Value
| Type | Description |
|---|---|
| ClippingBoundary |
Elevation
Gets or sets the wipeout elevation.
Declaration
public double Elevation { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Remarks
This is the distance from the origin to the plane of the wipeout boundary.
Methods
| Improve this Doc View SourceClone()
Creates a new Wipeout that is a copy of the current instance.
Declaration
public override object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new Wipeout that is a copy of this instance. |
Overrides
| Improve this Doc View SourceTransformBy(Matrix3, Vector3)
Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
Declaration
public override void TransformBy(Matrix3 transformation, Vector3 translation)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3 | transformation | Transformation matrix. |
| Vector3 | translation | Translation vector. |
Overrides
Remarks
Matrix3 adopts the convention of using column vectors to represent a transformation matrix.