Click or drag to resize

PolylineShape Class

Represents a continuous 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 PolylineShape : BasicShape

The PolylineShape type exposes the following members.

Constructors
  NameDescription
Protected methodPolylineShape
Initializes a new instance of the PolylineShape class
Top
Properties
  NameDescription
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 propertyHasSelfIntersection
Get a value indicating whether it is self-intersecting.
Public propertyIsClosed
Gets a value indicating whether the polyline is closed or not.
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 propertyIsPolygon
Get a value indicating whether or not the polyline is a polygon.
Public propertyIsRectangle
Get a value indicating whether the polyline is a rectangle.
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 polyline.
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 propertyPointCount
Get the number of point sequence of polyline.
Public propertyPoints
Get or set the coordinates of the point sequence of polyline.
Public propertyRecordID
Get the record ID.
(Inherited from Shape.)
Public propertyStartParameter
Acquire the start parameter.
(Inherited from BasicShape.)
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 methodGetPolygonArea
Get a nullable double value representing the area of the polygon. If the polyline is not closed or self-intersecting, null is returned.
Public methodGetRectangleAngle
Get a nullable double value representing the angle (Degree) of the rectangle. If the polyline is not a rectangle, null is returned.
Public methodGetRectangleHeight
Get a nullable double value representing the height of the rectangle. If the polyline is not a rectangle, null is returned.
Public methodGetRectanglePoint
Get the coordinates of the specified position of the rectangle. If the polyline is not a rectangle, null is returned.
Public methodGetRectangleWidth
Get a nullable double value representing the width of the rectangle. If the polyline is not a rectangle, null is returned.
Public methodGetSegmentIndexAtParameter
Finds out which segment of the polyline the coordinates of the specified parameter are on and gets the index for that segment.
Public methodGetSplitLineShapes
Get the decomposed line figure.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertPoint
Add a point to the specified index.
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 methodRemovePoint
Delete the point at the specified index.
Public methodRotate
Rotate the shape.
(Inherited from Shape.)
Public methodScale
Zoom in or out the shape.
(Inherited from Shape.)
Public methodSetPoint
Set the coordinate of the specified index of the polyline.
Public methodSetRectangleAngle
Set the angle (Degree) relative to the specified position of the rectangle.
Public methodSetRectangleHeight
Set the height based on the specified position of the rectangle.
Public methodSetRectangleWidth
Set the width based on the specified position of the rectangle.
Public methodSplit
Disassemble into line figures.
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