Android.Graphics Namespace

Classes

AvoidXfermode

AvoidXfermode xfermode will draw the src everywhere except on top of the opColor or, depending on the Mode, draw only on top of the opColor.

AvoidXfermode.Mode
Bitmap
Bitmap.CompressFormat

Specifies the known formats a bitmap can be compressed into

Bitmap.Config

Possible bitmap configurations.

Bitmap.InterfaceConsts
BitmapFactory

Creates Bitmap objects from various sources, including files, streams, and byte-arrays.

BitmapFactory.Options
BitmapRegionDecoder

BitmapRegionDecoder can be used to decode a rectangle region from an image.

BitmapShader

Shader used to draw a bitmap as a texture.

BlurMaskFilter

This takes a mask, and blurs its edge by the specified radius.

BlurMaskFilter.Blur
Camera

A camera instance can be used to compute 3D transformations and generate a matrix that can be applied, for instance, on a Canvas.

Canvas

The Canvas class holds the "draw" calls.

Canvas.EdgeType
Canvas.VertexMode
ColorFilter

A color filter can be used with a Paint to modify the color of each pixel drawn with that paint.

ColorMatrix

4x5 matrix for transforming the color and alpha components of a Bitmap.

ColorMatrixColorFilter

A color filter that transforms colors through a 4x5 color matrix.

ColorObject
ColorSpace
ColorSpace.Adaptation
ColorSpace.Connector
ColorSpace.Model
ColorSpace.Named
ColorSpace.RenderIntent
ColorSpace.Rgb
ColorSpace.Rgb.TransferParameters
ComposePathEffect
ComposeShader

A subclass of shader that returns the composition of two other shaders, combined by an Xfermode subclass.

CornerPathEffect
DashPathEffect
DiscretePathEffect
DrawFilter

A DrawFilter subclass can be installed in a Canvas.

EmbossMaskFilter
ImageFormat
Interpolator
Interpolator.Result
LayerRasterizer
LightingColorFilter

A color filter that can be used to simulate simple lighting effects.

LinearGradient
MaskFilter

MaskFilter is the base class for object that perform transformations on an alpha-channel mask before drawing it.

Matrix

The Matrix class holds a 3x3 matrix for transforming coordinates.

Matrix.ScaleToFit

Controlls how the src rect should align into the dst rect for setRectToRect().

Movie
NinePatch

The NinePatch class permits drawing a bitmap in nine or more sections.

Outline

Defines a simple shape, used for bounding graphical regions.

Paint

The Paint class holds the style and color information about how to draw geometries, text and bitmaps.

Paint.Align

Align specifies how drawText aligns its text relative to the [x,y] coordinates.

Paint.Cap

The Cap specifies the treatment for the beginning and ending of stroked lines and paths.

Paint.FontMetrics

Class that describes the various metrics for a font at a given text size.

Paint.FontMetricsInt

Convenience method for callers that want to have FontMetrics values as integers.

Paint.Join

The Join specifies the treatment where lines and curve segments join on a stroked path.

Paint.Style

The Style specifies if the primitive being drawn is filled, stroked, or both (in the same color).

PaintFlagsDrawFilter
Path

The Path class encapsulates compound (multiple contour) geometric paths consisting of straight line segments, quadratic curves, and cubic curves.

Path.Direction

Specifies how closed shapes (e.g. rects, ovals) are oriented when they are added to a path.

Path.FillType

Enum for the ways a path may be filled

Path.Op
PathDashPathEffect
PathDashPathEffect.Style
PathEffect

PathEffect is the base class for objects in the Paint that affect the geometry of a drawing primitive before it is transformed by the canvas' matrix and drawn.

PathMeasure
Picture

A Picture records drawing calls (via the canvas returned by beginRecording) and can then play them back into Canvas (via Draw(Canvas) or DrawPicture(Picture)).

PixelFormat
PixelXorXfermode

PixelXorXfermode implements a simple pixel xor (op ^ src ^ dst).

Point

Point holds two integer coordinates

Point.InterfaceConsts
PointF

PointF holds two float coordinates

PointF.InterfaceConsts
PorterDuff
PorterDuff.Mode
PorterDuffColorFilter

A color filter that can be used to tint the source pixels using a single color and a specific PorterDuff.

PorterDuffXfermode
RadialGradient
Rasterizer
Rect

Rect holds four integer coordinates for a rectangle.

Rect.InterfaceConsts
RectF

RectF holds four float coordinates for a rectangle.

RectF.InterfaceConsts
Region
Region.InterfaceConsts
Region.Op
RegionIterator
Shader

Shader is the based class for objects that return horizontal spans of colors during drawing.

Shader.TileMode
SumPathEffect
SurfaceTexture

Captures frames from an image stream as an OpenGL ES texture.

SurfaceTexture.FrameAvailableEventArgs

Provides data for the FrameAvailable event.

SurfaceTexture.OutOfResourcesException

Exception thrown when a surface couldn't be created or resized

SweepGradient
Typeface

The Typeface class specifies the typeface and intrinsic style of a font.

Typeface.Builder
Xfermode

Xfermode is the base class for objects that are called to implement custom "transfer-modes" in the drawing pipeline.

YuvImage

YuvImage contains YUV data and provides a method that compresses a region of the YUV data to a Jpeg.

Structs

AndroidBitmapInfo
Color

Interfaces

SurfaceTexture.IOnFrameAvailableListener

Callback interface for being notified that a new stream frame is available.

Enums

Format

Enumerates values returned by several types and taken as a parameter of several types.

ImageFormatType
MatrixFlags

Enumerates values returned by the Position, and Tangent members and taken as a parameter of the F:Android.Graphics.PathMeasure.GetMatrix member.

PaintFlags

Enumerates values returned by several types and taken as a parameter of several types.

PaintHinting

Enumerates values returned by several types.

SaveFlags

Enumerates values returned by several methods of SaveFlags and taken as a parameter of several methods of Canvas.

TypefaceStyle

Enumerates values returned by several types and taken as a parameter of several types.