Click or drag to resize

BasicShape Class

Represents a general figure.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADShape
    RootPro.RootProCADBasicShape
      More...

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class BasicShape : Shape

The BasicShape type exposes the following members.

Constructors
  NameDescription
Protected methodBasicShape
Initializes a new instance of the BasicShape class
Top
Properties
  NameDescription
Public propertyAttributes
Get the attribute collection.
(Inherited from Shape.)
Public propertyColor
Get or set the color.
Public propertyColorNumber
Get or set the color number.
Public propertyDocument
Acquire the document.
(Inherited from Shape.)
Public propertyDrawGroup
Acquire the parent's drawing group.
(Inherited from Shape.)
Public propertyDrawing
Acquire a partial diagram.
(Inherited from Shape.)
Public propertyEndParameter
Acquire the end parameter.
Public propertyIsComposite
Gets a value indicating whether it is a complex figure.
(Inherited from Shape.)
Public propertyIsPeriodic
Get a value indicating whether this shape is periodic.
Public propertyIsTemporary
Get a value indicating whether it is a temporary shape.
(Inherited from Shape.)
Public propertyLayer
Get or set the layer.
(Inherited from Shape.)
Public propertyLayerID
Get or set the ID of the layer.
(Inherited from Shape.)
Public propertyLinetype
Get or set the line type.
Public propertyLinetypeNumber
Acquires or sets the line type number.
Public propertyLinewidth
Get or set line width.
Public propertyLinewidthNumber
Get or set line width number.
Public propertyNumber
Acquires the figure number.
(Inherited from Shape.)
Public propertyPeriod
Acquires a periodic parameter section.
Public propertyRecordID
Get the record ID.
(Inherited from Shape.)
Public propertyStartParameter
Acquire the start parameter.
Top
Methods
  NameDescription
Public methodClone
Duplicate a shape to create a temporary instance.
(Inherited from Shape.)
Public methodConvertToPolyline
Create a figure converted to a polyline.
Public methodCopy
Create a copy of the shape and add it to the drawing.
(Inherited from Shape.)
Public methodDelete
Delete the shape.
(Inherited from Shape.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExplode
Disassemble the shape.
(Inherited from Shape.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBoundingBox
Get the rectangular area surrounding the shape.
(Inherited from Shape.)
Public methodGetBoundingPoints
Get the area surrounding the shape.
(Inherited from Shape.)
Public methodGetClosestPoint
Get the point on the figure closest to the specified coordinates.
Public methodGetExplodedShapes
Get the decomposed figure.
(Inherited from Shape.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIntersectionPoint
Get the intersection point with the specified figure.
Public methodGetLength
Get the length of the figure between the specified parameters.
Public methodGetOffsetShape
Create geometry offset by the specified distance.
Public methodGetParameterAtPoint
Get the parameters of the specified coordinates.
Public methodGetPointAtLength
Acquires a point ahead by a specified length from the specified parameter on the figure.
Public methodGetPointAtParameter
Get the coordinates of the specified parameter.
Public methodGetPointSide
I will get which side of the figure the specified point is.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsPointOnShape
Get a value indicating whether the specified coordinates are on the figure.
Public methodIsValidParameter
Get a value indicating whether the specified parameter is on the figure.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMirror
Move the figure mirror image.
(Inherited from Shape.)
Public methodMove
Move the shape.
(Inherited from Shape.)
Public methodRotate
Rotate the shape.
(Inherited from Shape.)
Public methodScale
Zoom in or out the shape.
(Inherited from Shape.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform
Convert geometry with specified magnification, angle and coordinates.
(Inherited from Shape.)
Top
See Also
Inheritance Hierarchy