GH_IconObject_Rectangle

GH_IconObject

Properties

Image

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

ObjectID

#
public override Guid ObjectID { get; }

Pivot

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

Rectangle

#
public Rectangle Rectangle { get; }

Size

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

Methods

Contains

#
public override bool Contains(
PointF
pt
)

Grips

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

Read

#
public override bool Read(
reader
)

RenderObject

#
public override void RenderObject()

Resize

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

Write

#
public override bool Write(
writer
)