GH_TextFragment

GH_EquationFragment
Represents a single piece of text in an equation.

Fields

m_pivot

protected PointF m_pivot
inherited fromGH_EquationFragment

m_size

protected SizeF m_size
inherited fromGH_EquationFragment

Properties

Bounds

public RectangleF Bounds { get; }
inherited fromGH_EquationFragment
Bounds

Description

#
public override string Description { get; }

Icon

public virtual Bitmap Icon { get; }
inherited fromGH_EquationFragment
Icon

Name

#
public override string Name { get; }

Pivot

public virtual PointF Pivot { get; set; }
inherited fromGH_EquationFragment
Pivot

Size

public virtual SizeF Size { get; }
inherited fromGH_EquationFragment
Size

Text

#
public string Text { get; set; }

Methods

Layout

#
public override bool Layout(Font font)
font (Font)

Position

#
public override bool Position(PointF location)
location (PointF)

Render

#
public override void Render(Graphics graphics, Font font, Color colour)
graphics (Graphics)
font (Font)
colour (Color)

ToExpression

#
public override string ToExpression()