Click or drag to resize

LineShape Class

It represents the line.
Inheritance Hierarchy

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 LineShape : BasicShape

The LineShape type exposes the following members.

Constructors
  NameDescription
Protected methodLineShape
Initializes a new instance of the LineShape class
Top
Properties
  NameDescription
Public propertyAngle
Get the angle (Degree) of the line.
Public propertyAttributes
Get the attribute collection.
(Inherited from Shape.)
Public propertyColor
Get or set the color.
(Inherited from BasicShape.)
Public propertyColorNumber
Get or set the color number.
(Inherited from BasicShape.)
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.
(Inherited from BasicShape.)
Public propertyEndPoint
Gets or sets the end point.
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.
(Inherited from BasicShape.)
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 propertyLength
Get the length of the line.
Public propertyLinetype
Get or set the line type.
(Inherited from BasicShape.)
Public propertyLinetypeNumber
Acquires or sets the line type number.
(Inherited from BasicShape.)
Public propertyLinewidth
Get or set line width.
(Inherited from BasicShape.)
Public propertyLinewidthNumber
Get or set line width number.
(Inherited from BasicShape.)
Public propertyNumber
Acquires the figure number.
(Inherited from Shape.)
Public propertyPeriod
Acquires a periodic parameter section.
(Inherited from BasicShape.)
Public propertyRecordID
Get the record ID.
(Inherited from Shape.)
Public propertyStartParameter
Acquire the start parameter.
(Inherited from BasicShape.)
Public propertyStartPoint
Get or set the coordinates of the start point.
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.
(Inherited from BasicShape.)
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.
(Inherited from BasicShape.)
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.
(Inherited from BasicShape.)
Public methodGetLength
Get the length of the figure between the specified parameters.
(Inherited from BasicShape.)
Public methodGetOffsetShape
Create geometry offset by the specified distance.
(Inherited from BasicShape.)
Public methodGetParameterAtPoint
Get the parameters of the specified coordinates.
(Inherited from BasicShape.)
Public methodGetPointAtLength
Acquires a point ahead by a specified length from the specified parameter on the figure.
(Inherited from BasicShape.)
Public methodGetPointAtParameter
Get the coordinates of the specified parameter.
(Inherited from BasicShape.)
Public methodGetPointSide
I will get which side of the figure the specified point is.
(Inherited from BasicShape.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsNormal
Determine whether it is perpendicular to the specified line figure.
Public methodIsOpposite
Determine whether it is in the opposite direction to the specified line figure.
Public methodIsParallel
Determine whether it is parallel to the specified line figure.
Public methodIsPointOnShape
Get a value indicating whether the specified coordinates are on the figure.
(Inherited from BasicShape.)
Public methodIsValidParameter
Get a value indicating whether the specified parameter is on the figure.
(Inherited from BasicShape.)
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 methodSetPoint
Set the start and end points of the line.
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