Table of Contents

Class Glyphs

Namespace
PluginUI
Assembly
PluginUI.dll

Small vector glyphs shared by buttons, menus and pickers.

public static class Glyphs
Inheritance
Glyphs
Inherited Members

Methods

Check(DrawingContext, Point, float, Color, float)

Draws a check mark fitting a square of side size centered at c.

public static void Check(DrawingContext dc, Point c, float size, Color color, float thickness = 1.8)

Parameters

dc DrawingContext
c Point
size float
color Color
thickness float

Checkerboard(DrawingContext, Rect, float)

Draws a checkerboard (behind translucent colors).

public static void Checkerboard(DrawingContext dc, Rect r, float cell = 5)

Parameters

dc DrawingContext
r Rect
cell float

Chevron(DrawingContext, Point, float, Color, bool, float)

Draws a chevron pointing down (or up when up) centered at c.

public static void Chevron(DrawingContext dc, Point c, float size, Color color, bool up = false, float thickness = 1.5)

Parameters

dc DrawingContext
c Point
size float
color Color
up bool
thickness float

ChevronSide(DrawingContext, Point, float, Color, bool, float)

Draws a chevron pointing left or right.

public static void ChevronSide(DrawingContext dc, Point c, float size, Color color, bool right, float thickness = 1.5)

Parameters

dc DrawingContext
c Point
size float
color Color
right bool
thickness float

Ellipsis(DrawingContext, Point, float, Color)

Draws three dots (ellipsis / "more" menu).

public static void Ellipsis(DrawingContext dc, Point c, float size, Color color)

Parameters

dc DrawingContext
c Point
size float
color Color

Hamburger(DrawingContext, Point, float, Color, float)

Draws three horizontal bars (hamburger menu).

public static void Hamburger(DrawingContext dc, Point c, float size, Color color, float thickness = 1.5)

Parameters

dc DrawingContext
c Point
size float
color Color
thickness float

Led(DrawingContext, Point, float, Color, bool, Color)

Draws a glowing LED dot.

public static void Led(DrawingContext dc, Point c, float radius, Color color, bool on, Color offColor)

Parameters

dc DrawingContext
c Point
radius float
color Color
on bool
offColor Color

Triangle(DrawingContext, Point, float, Color, bool)

Draws a filled triangle pointing up or down.

public static void Triangle(DrawingContext dc, Point c, float size, Color color, bool up)

Parameters

dc DrawingContext
c Point
size float
color Color
up bool