pub unsafe trait CIAttributedTextImageGenerator: CIFilterProtocol {
// Provided methods
unsafe fn text(&self) -> Retained<NSAttributedString>
where Self: Sized + Message { ... }
unsafe fn setText(&self, text: &NSAttributedString)
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§
unsafe fn text(&self) -> Retained<NSAttributedString>
Sourceunsafe fn setText(&self, text: &NSAttributedString)
unsafe fn setText(&self, text: &NSAttributedString)
Setter for text
.
unsafe fn scaleFactor(&self) -> c_float
Sourceunsafe fn setScaleFactor(&self, scale_factor: c_float)
unsafe fn setScaleFactor(&self, scale_factor: c_float)
Setter for scaleFactor
.