CISmoothLinearGradient

Trait CISmoothLinearGradient 

Source
pub unsafe trait CISmoothLinearGradient: CIFilterProtocol {
    // Provided methods
    unsafe fn point0(&self) -> CGPoint
       where Self: Sized + Message { ... }
    unsafe fn setPoint0(&self, point0: CGPoint)
       where Self: Sized + Message { ... }
    unsafe fn point1(&self) -> CGPoint
       where Self: Sized + Message { ... }
    unsafe fn setPoint1(&self, point1: CGPoint)
       where Self: Sized + Message { ... }
    unsafe fn color0(&self) -> Retained<CIColor>
       where Self: Sized + Message { ... }
    unsafe fn setColor0(&self, color0: &CIColor)
       where Self: Sized + Message { ... }
    unsafe fn color1(&self) -> Retained<CIColor>
       where Self: Sized + Message { ... }
    unsafe fn setColor1(&self, color1: &CIColor)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

Provided Methods§

Source

unsafe fn point0(&self) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn setPoint0(&self, point0: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for point0.

Source

unsafe fn point1(&self) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn setPoint1(&self, point1: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for point1.

Source

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

Available on crate feature CIColor only.
Source

unsafe fn setColor0(&self, color0: &CIColor)
where Self: Sized + Message,

Available on crate feature CIColor only.

Setter for color0.

Source

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

Available on crate feature CIColor only.
Source

unsafe fn setColor1(&self, color1: &CIColor)
where Self: Sized + Message,

Available on crate feature CIColor only.

Setter for color1.

Trait Implementations§

Source§

impl ProtocolType for dyn CISmoothLinearGradient

Source§

const NAME: &'static str = "CISmoothLinearGradient"

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 CISmoothLinearGradient

Implementations on Foreign Types§

Source§

impl<T> CISmoothLinearGradient for ProtocolObject<T>

Implementors§