CITextImageGenerator

Trait CITextImageGenerator 

Source
pub unsafe trait CITextImageGenerator: CIFilterProtocol {
    // Provided methods
    unsafe fn text(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn setText(&self, text: &NSString)
       where Self: Sized + Message { ... }
    unsafe fn fontName(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn setFontName(&self, font_name: &NSString)
       where Self: Sized + Message { ... }
    unsafe fn fontSize(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setFontSize(&self, font_size: c_float)
       where Self: Sized + Message { ... }
    unsafe fn scaleFactor(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setScaleFactor(&self, scale_factor: c_float)
       where Self: Sized + Message { ... }
    unsafe fn padding(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setPadding(&self, padding: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

Provided Methods§

Source

unsafe fn text(&self) -> Retained<NSString>
where Self: Sized + Message,

Source

unsafe fn setText(&self, text: &NSString)
where Self: Sized + Message,

Setter for text.

Source

unsafe fn fontName(&self) -> Retained<NSString>
where Self: Sized + Message,

Source

unsafe fn setFontName(&self, font_name: &NSString)
where Self: Sized + Message,

Setter for fontName.

Source

unsafe fn fontSize(&self) -> c_float
where Self: Sized + Message,

Source

unsafe fn setFontSize(&self, font_size: c_float)
where Self: Sized + Message,

Setter for fontSize.

Source

unsafe fn scaleFactor(&self) -> c_float
where Self: Sized + Message,

Source

unsafe fn setScaleFactor(&self, scale_factor: c_float)
where Self: Sized + Message,

Setter for scaleFactor.

Source

unsafe fn padding(&self) -> c_float
where Self: Sized + Message,

Source

unsafe fn setPadding(&self, padding: c_float)
where Self: Sized + Message,

Setter for padding.

Trait Implementations§

Source§

impl ProtocolType for dyn CITextImageGenerator

Source§

const NAME: &'static str = "CITextImageGenerator"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn CITextImageGenerator

Implementations on Foreign Types§

Source§

impl<T> CITextImageGenerator for ProtocolObject<T>

Implementors§