Struct libvips::ops::ArrayjoinOptions
source · pub struct ArrayjoinOptions {
pub across: i32,
pub shim: i32,
pub background: Vec<f64>,
pub halign: Align,
pub valign: Align,
pub hspacing: i32,
pub vspacing: i32,
}
Expand description
Options for arrayjoin operation
Fields§
§across: i32
across: i32
-> Number of images across grid
min: 1, max: 1000000, default: 1
shim: i32
shim: i32
-> Pixels between images
min: 0, max: 1000000, default: 0
background: Vec<f64>
background: Vec<f64>
-> Colour for new pixels
halign: Align
halign: Align
-> Align on the left, centre or right
Low
-> VIPS_ALIGN_LOW = 0 [DEFAULT]
Centre
-> VIPS_ALIGN_CENTRE = 1
High
-> VIPS_ALIGN_HIGH = 2
Last
-> VIPS_ALIGN_LAST = 3
valign: Align
valign: Align
-> Align on the top, centre or bottom
Low
-> VIPS_ALIGN_LOW = 0 [DEFAULT]
Centre
-> VIPS_ALIGN_CENTRE = 1
High
-> VIPS_ALIGN_HIGH = 2
Last
-> VIPS_ALIGN_LAST = 3
hspacing: i32
hspacing: i32
-> Horizontal spacing between images
min: 1, max: 1000000, default: 1
vspacing: i32
vspacing: i32
-> Vertical spacing between images
min: 1, max: 1000000, default: 1
Trait Implementations§
source§impl Clone for ArrayjoinOptions
impl Clone for ArrayjoinOptions
source§fn clone(&self) -> ArrayjoinOptions
fn clone(&self) -> ArrayjoinOptions
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