Skip to content

ACadSharp.Entities.Entity

Albert Domenech edited this page Apr 6, 2025 · 8 revisions

Entity Class

The standard class for a basic CAD entity or a graphical object.

Definition

Namespace: ACadSharp.Entities

C#

DxfSubClassAttribute
public abstractclass Entity

Properties

Returns Name Summary
BookColor BookColor Book color for this entity.
Color Color The True Color object of the object.
Boolean IsInvisible Specifies the visibility of an object or the application.
Layer Layer Specifies the layer for an object.
LineType LineType Linetype name (present if not BYLAYER).
The special name BYBLOCK indicates a floating linetype (optional)
Double LinetypeScale Linetype scale for this entity.
LineweightType LineWeight Specifies the lineweight of an individual object or the default lineweight for the drawing.
Material Material Material object (present if not BYLAYER)
String SubclassMarker
Transparency Transparency Transparency value.

Methods

Returns Name Summary
Void ApplyRotation(CSMath.XYZ, System.Double) Apply a rotation to this entity.
Void ApplyScaling(CSMath.XYZ, CSMath.XYZ)
Void ApplyScaling(CSMath.XYZ) Apply a scale to this entity.
Void ApplyTransform(CSMath.Transform)
Void ApplyTranslation(CSMath.XYZ) Apply a translation to this entity.
CadObject Clone
Color GetActiveColor Get the active color for the entity, process the colors like and .
BoundingBox GetBoundingBox Gets the bounding box aligned with the axis XYZ that occupies this entity.
Void MatchProperties(ACadSharp.Entities.IEntity)
Clone this wiki locally