Reference · Record · lib.rs
WatermarkSpec Record
No description yet.
struct WatermarkSpec {
var text: String
var font: StampFont
var size: Double
var opacity: Double
var rotation: Double
var color: RgbColor
var background: RgbColor?
var `repeat`: WatermarkRepeat
var spacingX: Double
var spacingY: Double
var from: UInt32
var to: UInt32?
}public record WatermarkSpec(
string text,
StampFont font,
double size,
double opacity,
double rotation,
RgbColor color,
RgbColor? background,
WatermarkRepeat repeat,
double spacingX,
double spacingY,
uint from,
uint? to
)pub struct WatermarkSpec {
pub text: String,
pub font: StampFont,
pub size: f64,
pub opacity: f64,
pub rotation: f64,
pub color: RgbColor,
pub background: Option<RgbColor>,
pub repeat: WatermarkRepeat,
pub spacing_x: f64,
pub spacing_y: f64,
pub from: u32,
pub to: Option<u32>,
}Fields
| Field | Type | Description |
|---|---|---|
text | String | No description yet. |
font | StampFont | No description yet. |
size | f64 | No description yet. |
opacity | f64 | No description yet. |
rotation | f64 | No description yet. |
color | RgbColor | No description yet. |
background | Option<RgbColor> | No description yet. |
repeat | WatermarkRepeat | No description yet. |
spacing_x | f64 | No description yet. |
spacing_y | f64 | No description yet. |
from | u32 | No description yet. |
to | Option<u32> | No description yet. |
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.