Class Ruby

Namespace
Forma
Assembly
Forma.dll

Base text with a smaller annotation centered above it; only the base belongs to the label text.

public sealed class Ruby : Inline
Inheritance
Ruby
Inherited Members

Constructors

Ruby()

Creates an empty ruby annotation.

public Ruby()

Ruby(string, string)

Creates a ruby with base text and the small annotation drawn above it.

public Ruby(string text, string annotation)

Parameters

text string
annotation string

Properties

Annotation

The annotation (for example furigana) drawn above the base text.

public string Annotation { get; set; }

Property Value

string

AnnotationFont

Annotation font; defaults to the resolved base font at half size.

public UIFont AnnotationFont { get; set; }

Property Value

UIFont

Text

The base text the annotation sits above.

public string Text { get; set; }

Property Value

string