Class ShapingRequest
What a shaper is asked to shape: the text, its language, the font files, the font size and the width of the lines. One object, so that what a shaper is told can grow without changing the IShaper interface.
public sealed class ShapingRequest
- Inheritance
-
ShapingRequest
- Inherited Members
Constructors
ShapingRequest(string, string, byte[][], float, float)
A request to shape text.
public ShapingRequest(string text, string language, byte[][] fontFiles, float fontSize, float width)
Parameters
Properties
FontFiles
The bytes of the font files: the first for the text, the others, in order, for the characters it does not have.
public byte[][] FontFiles { get; }
Property Value
- byte[][]
FontSize
The font size, in points.
public float FontSize { get; }
Property Value
Language
The language of the text, such as "hi" or "km", or null.
public string Language { get; }
Property Value
Text
The text.
public string Text { get; }
Property Value
Width
The width of the lines, in points.
public float Width { get; }