[][src]Trait uikit_sys::IUIImage

pub trait IUIImage: Sized + Deref {
    unsafe fn initWithContentsOfFile_(self, path: NSString) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithData_(self, data: NSData) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithData_scale_(
        self,
        data: NSData,
        scale: CGFloat
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCGImage_(self, cgImage: CGImageRef) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCGImage_scale_orientation_(
        self,
        cgImage: CGImageRef,
        scale: CGFloat,
        orientation: UIImageOrientation
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCIImage_(self, ciImage: CIImage) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCIImage_scale_orientation_(
        self,
        ciImage: CIImage,
        scale: CGFloat,
        orientation: UIImageOrientation
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn CGImage(self) -> CGImageRef
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawAtPoint_(self, point: CGPoint)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawAtPoint_blendMode_alpha_(
        self,
        point: CGPoint,
        blendMode: CGBlendMode,
        alpha: CGFloat
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawInRect_(self, rect: CGRect)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawInRect_blendMode_alpha_(
        self,
        rect: CGRect,
        blendMode: CGBlendMode,
        alpha: CGFloat
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawAsPatternInRect_(self, rect: CGRect)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn resizableImageWithCapInsets_(
        self,
        capInsets: UIEdgeInsets
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn resizableImageWithCapInsets_resizingMode_(
        self,
        capInsets: UIEdgeInsets,
        resizingMode: UIImageResizingMode
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithAlignmentRectInsets_(
        self,
        alignmentInsets: UIEdgeInsets
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithRenderingMode_(
        self,
        renderingMode: UIImageRenderingMode
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageFlippedForRightToLeftLayoutDirection(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithHorizontallyFlippedOrientation(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithBaselineOffsetFromBottom_(
        self,
        baselineOffset: CGFloat
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithoutBaseline(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithConfiguration_(
        self,
        configuration: UIImageConfiguration
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageByApplyingSymbolConfiguration_(
        self,
        configuration: UIImageSymbolConfiguration
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithTintColor_(self, color: UIColor) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithTintColor_renderingMode_(
        self,
        color: UIColor,
        renderingMode: UIImageRenderingMode
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn size(self) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn CIImage(self) -> CIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageOrientation(self) -> UIImageOrientation
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn scale(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isSymbolImage(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn images(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn duration(self) -> NSTimeInterval
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn capInsets(self) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn resizingMode(self) -> UIImageResizingMode
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn alignmentRectInsets(self) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn renderingMode(self) -> UIImageRenderingMode
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageRendererFormat(self) -> UIGraphicsImageRendererFormat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn traitCollection(self) -> UITraitCollection
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageAsset(self) -> UIImageAsset
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn flipsForRightToLeftLayoutDirection(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn baselineOffsetFromBottom(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasBaseline(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn configuration(self) -> UIImageConfiguration
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn symbolConfiguration(self) -> UIImageSymbolConfiguration
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn systemImageNamed_(name: NSString) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn systemImageNamed_withConfiguration_(
        name: NSString,
        configuration: UIImageConfiguration
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn systemImageNamed_compatibleWithTraitCollection_(
        name: NSString,
        traitCollection: UITraitCollection
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageNamed_(name: NSString) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageNamed_inBundle_withConfiguration_(
        name: NSString,
        bundle: NSBundle,
        configuration: UIImageConfiguration
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageNamed_inBundle_compatibleWithTraitCollection_(
        name: NSString,
        bundle: NSBundle,
        traitCollection: UITraitCollection
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithContentsOfFile_(path: NSString) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithData_(data: NSData) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithData_scale_(data: NSData, scale: CGFloat) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithCGImage_(cgImage: CGImageRef) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithCGImage_scale_orientation_(
        cgImage: CGImageRef,
        scale: CGFloat,
        orientation: UIImageOrientation
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithCIImage_(ciImage: CIImage) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageWithCIImage_scale_orientation_(
        ciImage: CIImage,
        scale: CGFloat,
        orientation: UIImageOrientation
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn animatedImageNamed_duration_(
        name: NSString,
        duration: NSTimeInterval
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn animatedResizableImageNamed_capInsets_duration_(
        name: NSString,
        capInsets: UIEdgeInsets,
        duration: NSTimeInterval
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn animatedResizableImageNamed_capInsets_resizingMode_duration_(
        name: NSString,
        capInsets: UIEdgeInsets,
        resizingMode: UIImageResizingMode,
        duration: NSTimeInterval
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn animatedImageWithImages_duration_(
        images: NSArray,
        duration: NSTimeInterval
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithContentsOfFile_(self, path: NSString) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithData_(self, data: NSData) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithData_scale_(
    self,
    data: NSData,
    scale: CGFloat
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCGImage_(self, cgImage: CGImageRef) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCGImage_scale_orientation_(
    self,
    cgImage: CGImageRef,
    scale: CGFloat,
    orientation: UIImageOrientation
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCIImage_(self, ciImage: CIImage) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCIImage_scale_orientation_(
    self,
    ciImage: CIImage,
    scale: CGFloat,
    orientation: UIImageOrientation
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn CGImage(self) -> CGImageRef where
    Self::Target: Message + Sized

unsafe fn drawAtPoint_(self, point: CGPoint) where
    Self::Target: Message + Sized

unsafe fn drawAtPoint_blendMode_alpha_(
    self,
    point: CGPoint,
    blendMode: CGBlendMode,
    alpha: CGFloat
) where
    Self::Target: Message + Sized

unsafe fn drawInRect_(self, rect: CGRect) where
    Self::Target: Message + Sized

unsafe fn drawInRect_blendMode_alpha_(
    self,
    rect: CGRect,
    blendMode: CGBlendMode,
    alpha: CGFloat
) where
    Self::Target: Message + Sized

unsafe fn drawAsPatternInRect_(self, rect: CGRect) where
    Self::Target: Message + Sized

unsafe fn resizableImageWithCapInsets_(self, capInsets: UIEdgeInsets) -> UIImage where
    Self::Target: Message + Sized

unsafe fn resizableImageWithCapInsets_resizingMode_(
    self,
    capInsets: UIEdgeInsets,
    resizingMode: UIImageResizingMode
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithAlignmentRectInsets_(
    self,
    alignmentInsets: UIEdgeInsets
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithRenderingMode_(
    self,
    renderingMode: UIImageRenderingMode
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageFlippedForRightToLeftLayoutDirection(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithHorizontallyFlippedOrientation(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithBaselineOffsetFromBottom_(
    self,
    baselineOffset: CGFloat
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithoutBaseline(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithConfiguration_(
    self,
    configuration: UIImageConfiguration
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageByApplyingSymbolConfiguration_(
    self,
    configuration: UIImageSymbolConfiguration
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithTintColor_(self, color: UIColor) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithTintColor_renderingMode_(
    self,
    color: UIColor,
    renderingMode: UIImageRenderingMode
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn size(self) -> CGSize where
    Self::Target: Message + Sized

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

unsafe fn imageOrientation(self) -> UIImageOrientation where
    Self::Target: Message + Sized

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

unsafe fn isSymbolImage(self) -> BOOL where
    Self::Target: Message + Sized

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

unsafe fn duration(self) -> NSTimeInterval where
    Self::Target: Message + Sized

unsafe fn capInsets(self) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn resizingMode(self) -> UIImageResizingMode where
    Self::Target: Message + Sized

unsafe fn alignmentRectInsets(self) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn renderingMode(self) -> UIImageRenderingMode where
    Self::Target: Message + Sized

unsafe fn imageRendererFormat(self) -> UIGraphicsImageRendererFormat where
    Self::Target: Message + Sized

unsafe fn traitCollection(self) -> UITraitCollection where
    Self::Target: Message + Sized

unsafe fn imageAsset(self) -> UIImageAsset where
    Self::Target: Message + Sized

unsafe fn flipsForRightToLeftLayoutDirection(self) -> BOOL where
    Self::Target: Message + Sized

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

unsafe fn hasBaseline(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn configuration(self) -> UIImageConfiguration where
    Self::Target: Message + Sized

unsafe fn symbolConfiguration(self) -> UIImageSymbolConfiguration where
    Self::Target: Message + Sized

unsafe fn systemImageNamed_(name: NSString) -> UIImage where
    Self::Target: Message + Sized

unsafe fn systemImageNamed_withConfiguration_(
    name: NSString,
    configuration: UIImageConfiguration
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn systemImageNamed_compatibleWithTraitCollection_(
    name: NSString,
    traitCollection: UITraitCollection
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageNamed_(name: NSString) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageNamed_inBundle_withConfiguration_(
    name: NSString,
    bundle: NSBundle,
    configuration: UIImageConfiguration
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageNamed_inBundle_compatibleWithTraitCollection_(
    name: NSString,
    bundle: NSBundle,
    traitCollection: UITraitCollection
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithContentsOfFile_(path: NSString) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithData_(data: NSData) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithData_scale_(data: NSData, scale: CGFloat) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithCGImage_(cgImage: CGImageRef) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithCGImage_scale_orientation_(
    cgImage: CGImageRef,
    scale: CGFloat,
    orientation: UIImageOrientation
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithCIImage_(ciImage: CIImage) -> UIImage where
    Self::Target: Message + Sized

unsafe fn imageWithCIImage_scale_orientation_(
    ciImage: CIImage,
    scale: CGFloat,
    orientation: UIImageOrientation
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn animatedImageNamed_duration_(
    name: NSString,
    duration: NSTimeInterval
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn animatedResizableImageNamed_capInsets_duration_(
    name: NSString,
    capInsets: UIEdgeInsets,
    duration: NSTimeInterval
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn animatedResizableImageNamed_capInsets_resizingMode_duration_(
    name: NSString,
    capInsets: UIEdgeInsets,
    resizingMode: UIImageResizingMode,
    duration: NSTimeInterval
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn animatedImageWithImages_duration_(
    images: NSArray,
    duration: NSTimeInterval
) -> UIImage where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUIImage for UIImage[src]

Loading content...