Click or drag to resize

GenericShape Class

A class representing an generic shape object to be drawn. These can be either directly supported by SIS or need some intermediate code to calculate a path.
Inheritance Hierarchy
SystemObject
  CadcorpGenericShape

Namespace:  Cadcorp
Assembly:  Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
[SerializableAttribute]
public class GenericShape

The GenericShape type exposes the following members.

Constructors
  NameDescription
Public methodGenericShape
Initializes a new instance of the GenericShape class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldBrush
The brush that the area will be drawn in. If an empty string, then the overlay default is used. If NULL, then no drawing takes place.
Public fieldPen
The pen that the line is to be drawn in. If an empty string, then the overlay default is used. If NULL, then no drawing takes place - though any other actions required (such as returning the length) will still take place.
Public fieldType
The type of shape to draw. Supported values are:
  • CircleCE (centre/edge)
  • Rectangle (bottom left/top right)
  • Arrow_start ("DimArrow" shape at the first vertex)
  • Arrow_end ("DimArrow" shape at the last vertex)
  • Arrow_both ("DimArrow" shape at both end vertices)
Public fieldVertices
The points that make up the area.
Top
See Also