Struct libvips::ops::DrawFloodOptions
source · pub struct DrawFloodOptions {
pub test: VipsImage,
pub equal: bool,
pub left: i32,
pub top: i32,
pub width: i32,
pub height: i32,
}
Expand description
Options for draw_flood operation
Fields§
§test: VipsImage
test: VipsImage
-> Test pixels in this image
equal: bool
equal: bool
-> DrawFlood while equal to edge
default: false
left: i32
left: i32
-> Left edge of modified area
min: 0, max: 1000000000, default: 0
top: i32
top: i32
-> Top edge of modified area
min: 0, max: 1000000000, default: 0
width: i32
width: i32
-> Width of modified area
min: 0, max: 1000000000, default: 0
height: i32
height: i32
-> Height of modified area
min: 0, max: 1000000000, default: 0
Trait Implementations§
source§impl Clone for DrawFloodOptions
impl Clone for DrawFloodOptions
source§fn clone(&self) -> DrawFloodOptions
fn clone(&self) -> DrawFloodOptions
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