Reference · Enum · tools.rs

SignatureMark Enum

No description yet.

enum SignatureMark {
    case strokes(strokes: [[StrokePoint]], width: Double, color: RgbColor)
    case picture(png: Data)
}

Variants

VariantFieldsDescription
Strokesstrokes: Vec<Vec<StrokePoint>>
width: f64
color: RgbColor
drawn: points 0…1 of the box, origin top-left; width per 320-wide pad
Picturepng: Vec<u8>typed or imported: a PNG the platform made

Used by

ToolOptions

Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.