GH_SketchElement

public abstract class GH_SketchElement : IGH_SketchElement
Base implementation of IGH_SketchElement

Properties

BoundingBox

#
public virtual RectangleF BoundingBox { get; }
BoundingBox

Category

#
public string Category { get; set; }
Category

Description

#
public abstract string Description { get; set; }
Description

GraphicsPath

#
public abstract GraphicsPath GraphicsPath { get; }
GraphicsPath

HasCategory

#
public bool HasCategory { get; }
HasCategory

HasSubCategory

#
public bool HasSubCategory { get; }
HasSubCategory

Icon_24x24

#
public abstract Image Icon_24x24 { get; }
Icon_24x24

InstanceDescription

#
public string InstanceDescription { get; }

InstanceGuid

#
public Guid InstanceGuid { get; }
InstanceGuid

Keywords

#
public IEnumerable<string> Keywords { get; }
Keywords

Name

#
public abstract string Name { get; set; }
Name

NickName

#
public string NickName { get; set; }
NickName

SubCategory

#
public string SubCategory { get; set; }
SubCategory

Methods

IsPickPoint

#
public virtual bool IsPickPoint(PointF pt)
pt (PointF)
IsPickPoint

IsPickPoint

#
public virtual bool IsPickPoint(RectangleF box, GH_PickBox bCrossingBox)
box (RectangleF)
bCrossingBox (GH_PickBox)
IsPickPoint

NewInstanceGuid

#
public void NewInstanceGuid()
NewInstanceGuid

NewInstanceGuid

#
public void NewInstanceGuid(Guid UUID)
UUID (Guid)
NewInstanceGuid

Read

#
public abstract bool Read(GH_IReader reader)
reader (GH_IReader)
Read

Write

#
public abstract bool Write(GH_IWriter writer)
writer (GH_IWriter)
Write