MonobjcMonobjc Documented Class Library
CGGradient Class
NamespacesMonobjc.ApplicationServicesCGGradient

[Missing <summary> documentation for "T:Monobjc.ApplicationServices.CGGradient"]

Declaration Syntax
C#Visual BasicVisual C++
public static class CGGradient
Public NotInheritable Class CGGradient
public ref class CGGradient abstract sealed
Members
All MembersMethods



IconMemberDescription
CreateWithColorComponents(IntPtr, IntPtr, IntPtr, NSUInteger)

Creates a CGGradient object from a color space and the provided color components and locations.

Original signature is 'CGGradientRef CGGradientCreateWithColorComponents( CGColorSpaceRef space, const CGFloat components[], const CGFloat locations[], size_t count );'

Available in Mac OS X v10.5 and later.


CreateWithColors(IntPtr, NSArray, IntPtr)

Creates a CGGradient object from a color space and the provided color objects and locations.

Original signature is 'CGGradientRef CGGradientCreateWithColors( CGColorSpaceRef space, CFArrayRef colors, const CGFloat locations[] );'

Available in Mac OS X v10.5 and later.


Release(IntPtr)

Decrements the retain count of a CGGradient object.

Original signature is 'void CGGradientRelease ( CGGradientRef gradient );'

Available in Mac OS X version 10.2 and later.


Retain(IntPtr)

Increments the retain count of a CGGradient object.

Original signature is 'CGGradientRef CGGradientRetain( CGGradientRef gradient );'

Available in Mac OS X version 10.5 and later.


Inheritance Hierarchy
Object
CGGradient
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)