Class AnnotationAppearanceBuilder
- Namespace
- LMKit.Document.Annotations.Appearance
- Assembly
- LM-Kit.NET.dll
The appearance engine of the LM-Kit annotation standard: generates every mark's visual
form from its Annotation record as device-independent
AppearanceElements. This is the fidelity authority - every render target
(embedded document appearances, flattened content, raster canvases, vector overlays)
draws EXACTLY these elements, so a mark looks identical everywhere. The geometry
formulas here are normative (see ANNOTATION-STANDARD.md).
public static class AnnotationAppearanceBuilder
- Inheritance
-
AnnotationAppearanceBuilder
- Inherited Members
Fields
- DefaultAccent
Default sticky-note / highlight tint when a record carries none.
- DefaultColor
Default mark colour when a record carries none.
- NoteHeight
The sticky note's fixed design height, in points.
- NoteWidth
The sticky note's fixed design size, in points.
Methods
- Bounds(List<AppearanceElement>)
The tight bounds of built elements (control points included, stroke widths padded, rotated text corners covered) - what an embedded appearance's box must span.
- Build(Annotation)
Builds the appearance of one record. Rotation is baked into path geometry (text blocks carry it as a transform, since glyphs cannot pre-rotate). An empty list means the kind has no visual form of its own (Link, unknown kinds).