Click or drag to resize

Shape Class

Represents a figure.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADShape
    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 Shape

The Shape type exposes the following members.

Constructors
  NameDescription
Protected methodShape
Initializes a new instance of the Shape class
Top
Properties
  NameDescription
Public propertyAttributes
Get the attribute collection.
Public propertyDocument
Acquire the document.
Public propertyDrawGroup
Acquire the parent's drawing group.
Public propertyDrawing
Acquire a partial diagram.
Public propertyIsComposite
Gets a value indicating whether it is a complex figure.
Public propertyIsTemporary
Get a value indicating whether it is a temporary shape.
Public propertyLayer
Get or set the layer.
Public propertyLayerID
Get or set the ID of the layer.
Public propertyNumber
Acquires the figure number.
Public propertyRecordID
Get the record ID.
Top
Methods
  NameDescription
Public methodClone
Duplicate a shape to create a temporary instance.
Public methodCopy
Create a copy of the shape and add it to the drawing.
Public methodDelete
Delete the shape.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExplode
Disassemble the 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.
Public methodGetBoundingPoints
Get the area surrounding the shape.
Public methodGetExplodedShapes
Get the decomposed figure.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMirror
Move the figure mirror image.
Public methodMove
Move the shape.
Public methodRotate
Rotate the shape.
Public methodScale
Zoom in or out the shape.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform
Convert geometry with specified magnification, angle and coordinates.
Top
See Also
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADShape
    RootPro.RootProCADBalloonShape
    RootPro.RootProCADBasicShape
    RootPro.RootProCADDimensionShape
    RootPro.RootProCADDrawComponentShape
    RootPro.RootProCADDrawGroupShape
    RootPro.RootProCADHatchShape
    RootPro.RootProCADImageShape
    RootPro.RootProCADLayoutShape
    RootPro.RootProCADLeadShape
    RootPro.RootProCADOleObjectShape
    RootPro.RootProCADPointMarkerShape
    RootPro.RootProCADRegionShape
    RootPro.RootProCADTextShape