Reference · Record · tools.rs
WatermarkOptions Record
No description yet.
struct WatermarkOptions {
var text: String
var logo: Data?
var face: StampFace
var bold: Bool
var size: Double
var opacity: Double
var rotation: Double
var color: RgbColor
var background: RgbColor?
var tiling: Tiling
var spacingX: Double
var spacingY: Double
var from: UInt32
var to: UInt32?
}public record WatermarkOptions(
string text,
byte[]? logo,
StampFace face,
bool bold,
double size,
double opacity,
double rotation,
RgbColor color,
RgbColor? background,
Tiling tiling,
double spacingX,
double spacingY,
uint from,
uint? to
)pub struct WatermarkOptions {
pub text: String,
pub logo: Option<Vec<u8>>,
pub face: StampFace,
pub bold: bool,
pub size: f64,
pub opacity: f64,
pub rotation: f64,
pub color: RgbColor,
pub background: Option<RgbColor>,
pub tiling: Tiling,
pub spacing_x: f64,
pub spacing_y: f64,
pub from: u32,
pub to: Option<u32>,
}Fields
| Field | Type | Description |
|---|---|---|
text | String | No description yet. |
logo | Option<Vec<u8>> | a logo or picture instead of the text (Pro): the file's bytes |
face | StampFace | No description yet. |
bold | bool | 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. |
tiling | Tiling | 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
watermark_logo_areas, ToolOptions
Live demo
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.