[][src]Trait uikit_sys::ICIColor

pub trait ICIColor: Sized + Deref {
    unsafe fn initWithCGColor_(self, c: CGColorRef) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithRed_green_blue_alpha_(
        self,
        r: CGFloat,
        g: CGFloat,
        b: CGFloat,
        a: CGFloat
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithRed_green_blue_(
        self,
        r: CGFloat,
        g: CGFloat,
        b: CGFloat
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithRed_green_blue_alpha_colorSpace_(
        self,
        r: CGFloat,
        g: CGFloat,
        b: CGFloat,
        a: CGFloat,
        colorSpace: CGColorSpaceRef
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithRed_green_blue_colorSpace_(
        self,
        r: CGFloat,
        g: CGFloat,
        b: CGFloat,
        colorSpace: CGColorSpaceRef
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn numberOfComponents(self) -> size_t
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn components(self) -> *const CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn alpha(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn colorSpace(self) -> CGColorSpaceRef
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn red(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn green(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn blue(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringRepresentation(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn colorWithCGColor_(c: CGColorRef) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn colorWithRed_green_blue_alpha_(
        r: CGFloat,
        g: CGFloat,
        b: CGFloat,
        a: CGFloat
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn colorWithRed_green_blue_(
        r: CGFloat,
        g: CGFloat,
        b: CGFloat
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn colorWithRed_green_blue_alpha_colorSpace_(
        r: CGFloat,
        g: CGFloat,
        b: CGFloat,
        a: CGFloat,
        colorSpace: CGColorSpaceRef
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn colorWithRed_green_blue_colorSpace_(
        r: CGFloat,
        g: CGFloat,
        b: CGFloat,
        colorSpace: CGColorSpaceRef
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn colorWithString_(representation: NSString) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn blackColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn whiteColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn grayColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn redColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn greenColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn blueColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cyanColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn magentaColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn yellowColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn clearColor() -> CIColor
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithCGColor_(self, c: CGColorRef) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithRed_green_blue_alpha_(
    self,
    r: CGFloat,
    g: CGFloat,
    b: CGFloat,
    a: CGFloat
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithRed_green_blue_(
    self,
    r: CGFloat,
    g: CGFloat,
    b: CGFloat
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithRed_green_blue_alpha_colorSpace_(
    self,
    r: CGFloat,
    g: CGFloat,
    b: CGFloat,
    a: CGFloat,
    colorSpace: CGColorSpaceRef
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithRed_green_blue_colorSpace_(
    self,
    r: CGFloat,
    g: CGFloat,
    b: CGFloat,
    colorSpace: CGColorSpaceRef
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn numberOfComponents(self) -> size_t where
    Self::Target: Message + Sized

unsafe fn components(self) -> *const CGFloat where
    Self::Target: Message + Sized

unsafe fn alpha(self) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn colorSpace(self) -> CGColorSpaceRef where
    Self::Target: Message + Sized

unsafe fn red(self) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn green(self) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn blue(self) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn stringRepresentation(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn colorWithCGColor_(c: CGColorRef) -> instancetype where
    Self::Target: Message + Sized

unsafe fn colorWithRed_green_blue_alpha_(
    r: CGFloat,
    g: CGFloat,
    b: CGFloat,
    a: CGFloat
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn colorWithRed_green_blue_(
    r: CGFloat,
    g: CGFloat,
    b: CGFloat
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn colorWithRed_green_blue_alpha_colorSpace_(
    r: CGFloat,
    g: CGFloat,
    b: CGFloat,
    a: CGFloat,
    colorSpace: CGColorSpaceRef
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn colorWithRed_green_blue_colorSpace_(
    r: CGFloat,
    g: CGFloat,
    b: CGFloat,
    colorSpace: CGColorSpaceRef
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn colorWithString_(representation: NSString) -> instancetype where
    Self::Target: Message + Sized

unsafe fn blackColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn whiteColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn grayColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn redColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn greenColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn blueColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn cyanColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn magentaColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn yellowColor() -> CIColor where
    Self::Target: Message + Sized

unsafe fn clearColor() -> CIColor where
    Self::Target: Message + Sized

Loading content...

Implementors

impl ICIColor for CIColor[src]

Loading content...