[−][src]Struct distance_field::Options
The options passed as the argument to the distance_field
method.
Fields
size: (u32, u32)
The dimensions of the output image (width, height). The default value is: (64,64).
max_distance: u16
The maximum distance for the projected point of the output image on the input image to search for the nearest point. The defaul value is: 512.
image_treshold: u8
The image value at which to apply the treshold. In a black-white vector image 127 is probably the best value. The default value is: 127.
Trait Implementations
Auto Trait Implementations
impl Sync for Options
impl Send for Options
impl Unpin for Options
impl RefUnwindSafe for Options
impl UnwindSafe for Options
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.