[][src]Trait uikit_sys::IUIFont

pub trait IUIFont: Sized + Deref {
    unsafe fn fontWithSize_(self, fontSize: CGFloat) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn familyName(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fontName(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn pointSize(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn ascender(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn descender(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn capHeight(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn xHeight(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn lineHeight(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn leading(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fontDescriptor(self) -> UIFontDescriptor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn preferredFontForTextStyle_(style: NSString) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn preferredFontForTextStyle_compatibleWithTraitCollection_(
        style: NSString,
        traitCollection: UITraitCollection
    ) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fontWithName_size_(
        fontName: NSString,
        fontSize: CGFloat
    ) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fontNamesForFamilyName_(familyName: NSString) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn systemFontOfSize_(fontSize: CGFloat) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn boldSystemFontOfSize_(fontSize: CGFloat) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn italicSystemFontOfSize_(fontSize: CGFloat) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn systemFontOfSize_weight_(
        fontSize: CGFloat,
        weight: UIFontWeight
    ) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn monospacedDigitSystemFontOfSize_weight_(
        fontSize: CGFloat,
        weight: UIFontWeight
    ) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn monospacedSystemFontOfSize_weight_(
        fontSize: CGFloat,
        weight: UIFontWeight
    ) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fontWithDescriptor_size_(
        descriptor: UIFontDescriptor,
        pointSize: CGFloat
    ) -> UIFont
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn familyNames() -> NSArray
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn fontWithSize_(self, fontSize: CGFloat) -> UIFont where
    Self::Target: Message + Sized

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

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

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

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

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

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

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

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

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

unsafe fn fontDescriptor(self) -> UIFontDescriptor where
    Self::Target: Message + Sized

unsafe fn preferredFontForTextStyle_(style: NSString) -> UIFont where
    Self::Target: Message + Sized

unsafe fn preferredFontForTextStyle_compatibleWithTraitCollection_(
    style: NSString,
    traitCollection: UITraitCollection
) -> UIFont where
    Self::Target: Message + Sized

unsafe fn fontWithName_size_(fontName: NSString, fontSize: CGFloat) -> UIFont where
    Self::Target: Message + Sized

unsafe fn fontNamesForFamilyName_(familyName: NSString) -> NSArray where
    Self::Target: Message + Sized

unsafe fn systemFontOfSize_(fontSize: CGFloat) -> UIFont where
    Self::Target: Message + Sized

unsafe fn boldSystemFontOfSize_(fontSize: CGFloat) -> UIFont where
    Self::Target: Message + Sized

unsafe fn italicSystemFontOfSize_(fontSize: CGFloat) -> UIFont where
    Self::Target: Message + Sized

unsafe fn systemFontOfSize_weight_(
    fontSize: CGFloat,
    weight: UIFontWeight
) -> UIFont where
    Self::Target: Message + Sized

unsafe fn monospacedDigitSystemFontOfSize_weight_(
    fontSize: CGFloat,
    weight: UIFontWeight
) -> UIFont where
    Self::Target: Message + Sized

unsafe fn monospacedSystemFontOfSize_weight_(
    fontSize: CGFloat,
    weight: UIFontWeight
) -> UIFont where
    Self::Target: Message + Sized

unsafe fn fontWithDescriptor_size_(
    descriptor: UIFontDescriptor,
    pointSize: CGFloat
) -> UIFont where
    Self::Target: Message + Sized

unsafe fn familyNames() -> NSArray where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUIFont for UIFont[src]

Loading content...