Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

562d26b0 7fb5 a4f8 a09e 007a938144e3

haplokuon edited this page May 6, 2023 · 1 revision

EntityObject Class

netDxf 3.0.0 Library

Represents a generic entity.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public abstract class EntityObject : DxfObject, 
	ICloneable

VB

Public MustInherit Class EntityObject
	Inherits DxfObject
	Implements ICloneable

C++

public ref class EntityObject abstract : public DxfObject, 
	ICloneable

F#

[<AbstractClassAttribute>]
type EntityObject = 
    class
        inherit DxfObject
        interface ICloneable
    end
Inheritance Object → DxfObject → EntityObject
Derived netDxf.Entities.Arc
netDxf.Entities.Circle
netDxf.Entities.Dimension
netDxf.Entities.Ellipse
netDxf.Entities.Face3D
netDxf.Entities.Hatch
netDxf.Entities.Image
netDxf.Entities.Insert
netDxf.Entities.Leader
netDxf.Entities.Line
netDxf.Entities.Mesh
netDxf.Entities.MLine
netDxf.Entities.MText
netDxf.Entities.Point
netDxf.Entities.PolyfaceMesh
netDxf.Entities.PolygonMesh
netDxf.Entities.Polyline2D
netDxf.Entities.Polyline3D
netDxf.Entities.Ray
netDxf.Entities.Shape
netDxf.Entities.Solid
netDxf.Entities.Spline
netDxf.Entities.Text
netDxf.Entities.Tolerance
netDxf.Entities.Trace
netDxf.Entities.Underlay
netDxf.Entities.Viewport
netDxf.Entities.Wipeout
netDxf.Entities.XLine
Implements ICloneable

Properties

CodeName Gets the DXF object name.
(Inherited from DxfObject)
Color Gets or sets the entity color.
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
IsVisible Gets or set the entity visibility.
Layer Gets or sets the entity layer.
Linetype Gets or sets the entity line type.
LinetypeScale Gets or sets the entity line type scale.
Lineweight Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer).
Normal Gets or sets the entity normal.
Owner Gets the owner of the actual DXF object.
Reactors Gets the list of DXF objects that has been attached to this entity.
Transparency Gets or sets layer transparency (default: ByLayer).
Type Gets the entity type.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone Creates a new entity that is a copy of the current instance.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Converts the value of this instance to its equivalent string representation.
(Overrides DxfObject.ToString())
TransformBy(Matrix4) Moves, scales, and/or rotates the current entity given a 4x4 transformation matrix.
TransformBy(Matrix3, Vector3) Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.

Events

LayerChanged  
LinetypeChanged  
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally