Reference · Rules and helpers · rules.rs
typed_signature Function
A typed signature as a PNG in the bundled handwriting font, height px high.
func typedSignature(name: String, color: RgbColor, height: UInt32) throws -> Datapublic static byte[] TypedSignature(string name, RgbColor color, uint height)pub fn typed_signature(name: String, color: RgbColor, height: u32) -> Result<Vec<u8>, PagewerkError>Parameters
| Name | Type | Swift / C# |
|---|---|---|
name | String | name |
color | RgbColor | color |
height | u32 | height |
Returns
Vec<u8>
Errors
Throws PagewerkError:
Unreadable: “unreadable: {message}”Refused: “refused: {message}”WrongPassword: “wrong password”
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.