Struct libvips::ops::JoinOptions
source · pub struct JoinOptions {
pub expand: bool,
pub shim: i32,
pub background: Vec<f64>,
pub align: Align,
}
Expand description
Options for join operation
Fields§
§expand: bool
expand: bool
-> Expand output to hold all of both inputs
default: false
shim: i32
shim: i32
-> Pixels between images
min: 0, max: 1000000, default: 0
background: Vec<f64>
background: Vec<f64>
-> Colour for new pixels
align: Align
align: Align
-> Align on the low, centre or high coordinate edge
Low
-> VIPS_ALIGN_LOW = 0 [DEFAULT]
Centre
-> VIPS_ALIGN_CENTRE = 1
High
-> VIPS_ALIGN_HIGH = 2
Last
-> VIPS_ALIGN_LAST = 3
Trait Implementations§
source§impl Clone for JoinOptions
impl Clone for JoinOptions
source§fn clone(&self) -> JoinOptions
fn clone(&self) -> JoinOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more