Hint<T>

public abstract class Hint<T> : IHint
A hint which is occasionally displayed on the canvas.
T where IDocumentObject

Constructors

Hint

#
protected Hint(
text,
Kind
filter = Kind.Floating
)

Properties

Canvas

#
public Canvas Canvas { get; set; }
Canvas

Filter

#
public Kind Filter { get; }

Hash

#
public int Hash { get; }

Text

#
public string Text { get; }

TextBounds

#
public RectangleF TextBounds { get; }
TextBounds

Methods

Applies

#
public virtual bool Applies()
Applies

Applies

#
public virtual bool Applies(
T
obj
)

Draw

#
public virtual void Draw(
context,
Font
font,
Color
colour,
PointF
point,
obj
)
Draw

Draw

#
public virtual void Draw(
context,
Font
font,
Color
colour,
PointF
point,
T
obj
)

IsFloating

#
protected static bool IsFloating()

IsInput

#
protected static bool IsInput()

IsOutput

#
protected static bool IsOutput()