Reference · Enum · tools.rs
SignatureMark Enum
No description yet.
enum SignatureMark {
case strokes(strokes: [[StrokePoint]], width: Double, color: RgbColor)
case picture(png: Data)
}public record SignatureMark {
public record Strokes(StrokePoint[][] strokes, double width, RgbColor color) : SignatureMark
public record Picture(byte[] png) : SignatureMark
}pub enum SignatureMark {
Strokes { strokes: Vec<Vec<StrokePoint>>, width: f64, color: RgbColor },
Picture { png: Vec<u8> },
}Variants
| Variant | Fields | Description |
|---|---|---|
Strokes | strokes: Vec<Vec<StrokePoint>>width: f64color: RgbColor | drawn: points 0…1 of the box, origin top-left; width per 320-wide pad |
Picture | png: Vec<u8> | typed or imported: a PNG the platform made |
Used by
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.