GH_IconObject_Rectangle

GH_IconObject

Properties

Image

public Bitmap Image { get; }
Gets the object image. Do not store pointers to this image as it might be disposed at any time.
inherited fromGH_IconObject
Image

ObjectID

#
public override Guid ObjectID { get; }

Pivot

public virtual Point Pivot { get; set; }
Gets or sets the pivot point for this object.
inherited fromGH_IconObject
Pivot

Rectangle

#
public Rectangle Rectangle { get; }

Size

public Size Size { get; set; }
Gets or sets the size of the object container. Setting the Size does not adjust the geometry, call Resize() instead.
inherited fromGH_IconObject
Size

Methods

Contains

#
public override bool Contains(PointF pt)
pt (PointF)

Grips

public virtual List<IGH_IconObjectGrip> Grips()
Gets a list of Icon object grips.
inherited fromGH_IconObject
A list of grips or null if this object does not support grips.
Grips

Read

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

RenderObject

#
public override void RenderObject(Graphics G)
G (Graphics)

Resize

public virtual void Resize(Size newSize)
Set a new size for this object and resize the geometry to adapt to the new container.
inherited fromGH_IconObject
newSize (Size)New size for this object.
Resize

Write

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