Realm

oa::image::pad

Add asymmetric padding with an explicit border policy.

FnRust public API

Function Documentation

pub fn pad( input: &Image, left: u32, right: u32, top: u32, bottom: u32, border: BorderMode, border_value: f32 ) -> Result<Image>
Add asymmetric padding with an explicit border policy.