CoreGraphics Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The CoreGraphics namespace provides access to a C-based low-level 2D graphics API.
CGBitmap |
CGContext backed by an in-memory bitmap. |
CGColor |
Color structure. |
CGColor |
|
CGColor |
|
CGColor |
Opaque type that Core Graphics uses to convert colors between color spaces. |
CGColor |
Colorspace, determines how Quartz interprets color information. |
CGColor |
Provides string constants whose values are known color spaces. |
CGContext |
Graphics context and primitives to draw in them. |
CGContextPDF |
PDF Rendering CGContext class. Use this class to create a CGContext that will output the results to a PDF file. |
CGData |
Data sink for CGContextPDF or CGImageDestination to store data on. |
CGData |
A class that wraps a data source and exposes it to the CGImage class. |
CGDisplay | |
CGEvent | |
CGEvent |
|
CGFont |
Font support. |
CGFunction |
A callback function to be used with various N:CoreGraphics functions. |
CGGradient |
Gradient definitions. |
CGImage |
Represents bitmap images and bitmap masks. |
CGImage |
Properties of bitmap images. |
CGImage |
Standard Exif metadata of an image. |
CGImage |
Location properties associated with an image. |
CGImage |
Properties with IPTC metadata in an image. |
CGImage |
Properties associated with JFIF bitmap images. |
CGImage |
Properties associated with PNG bitmap images. |
CGImage |
Properties associated with TIFF images. |
CGLayer |
A hardware accelerated context. |
CGPath |
A drawing path is made up of lines, arcs, beziers that can be used to paint. |
CGPattern |
A pattern to draw in a CGContext. |
CGPDFArray |
Represents a PDF array |
CGPDFContent |
Class that gets PDF resources as an object or stream. |
CGPDFDictionary |
Represents a PDF Dictionary. |
CGPDFDocument |
PDF Document. |
CGPDFInfo |
Auxiliary parameters for constructing a CGContextPDF. |
CGPDFObject |
Class that represents various objects in a PDF document. |
CGPDFOperator |
Class for storing callbacks for processing PDF documents. |
CGPDFOutline |
|
CGPDFPage |
A PDF Page in a PDF Document. |
CGPDFPage |
Specifies various boxes for the BeginPage(CGPDFPageInfo) method. |
CGPDFScanner |
Class that enables app developers to parse values from a PDF stream. |
CGPDFStream |
A PDF Stream. |
CGShading |
A type that represents a Quartz shading. |
Rectangle |
Extensions to the RectangleF class that are useful when using CoreGraphics. |
CGAffine |
2D Affine transformation used to convert between coordinate spaces. |
CGColor |
Contains the rendering intent, color space, and transform for a color conversion. |
CGEvent |
|
CGPath |
An individual element on a CGPath. |
CGPoint |
Structure defining a 2D point. |
CGRect |
Structure defining a rectangle in terms of location and size. |
CGSize |
Structure containing height and width values. |
CGVector |
A mathematical vector, with value equality implemented. |
GColor |
CGBitmap |
Bitmap encoding. |
CGBlend |
Blending mode used during composition. |
CGCapture |
|
CGColor |
|
CGColor |
Enumerates the relationships between color space transform starting and end points. |
CGColor |
Determines how Quartz maps colors from the source color space to the gamut of the destination. |
CGColor |
Color space model. |
CGEvent |
|
CGEvent |
|
CGEvent |
|
CGEvent |
|
CGEvent |
|
CGEvent |
|
CGEvent |
|
CGEvent |
|
CGEvent |
|
CGEvent |
|
CGGradient |
Drawing location for gradients. |
CGImage |
Specifies the bitmap layout information. |
CGImage |
|
CGImage |
An enumeration of valid color models. |
CGImage |
|
CGInterpolation |
Quality of interpolation for drawing images. |
CGLine |
Style for line caps. |
CGLine |
Join type for drawing operations. |
CGMouse |
|
CGPath |
Drawing mode. |
CGPath |
The type of an element in a CGPath. |
CGPattern |
Pattern styling style. |
CGPDFAccess |
|
CGPDFBox |
Type of box in a PDF document. |
CGPDFData |
Enumerates values that indicate the data format of a PDF. |
CGPDFObject |
Enumerates the various types of values that are found in a PDF document. |
CGRect |
Coordinates used to establish the edge in RectangleFExtensions.Divide. |
CGScroll |
|
CGText |
Text drawing mode used by Quartz. |
CGText |
Text encoding, this enumeration is deprecated, use CoreText APIs instead. |
CGWindow |
|
CGWindow |
|
Matrix |
CGEvent. |
|
CGFunction. |
A delegate used to specify the callback function of a CGFunction. |
CGPath. |
A function that can make changes to a CGPathElement. |
CGPattern. |
Callback signature used to draw patterns on the screen. |
CGPDFArray. |
|
CGPDFDictionary. |
This namespace contains a binding to the two-dimensional, bitmap and vector graphic APIs. To learn more about the capabilities of MonoTouch.CoreGraphics you can read Apple's Quartz 2D Programming Guide.
Many graphics use-cases can be addressed using higher-level APIs such as those provided in N:UIKit, GLKit, and SpriteKit. However, some Core Graphics classes such as CGLayer, CGContext, and CGImage are not uncommonly seen in general UI tasks. In such situations, the Core Graphics class will often have more flexibility in terms of lower-level manipulation but requires more attention from the developer in terms of resource and state management.