The methods of Android.Graphics.Paint are listed below. For a list of all members, see the Paint Members list.
See Also: Inherited members from Java.Lang.Object
Ascent()Return the distance above (negative) the baseline (ascent) based on the current typeface and text size. | ||
BreakText(string, bool, float, float[])Measure the text, stopping early if the measured width exceeds maxWidth. | ||
BreakText(char[], int, int, float, float[])Measure the text, stopping early if the measured width exceeds maxWidth. | ||
BreakText(Java.Lang.ICharSequence, int, int, bool, float, float[])Measure the text, stopping early if the measured width exceeds maxWidth. | ||
BreakText(string, int, int, bool, float, float[])Documentation for this section has not yet been entered. | ||
ClearShadowLayer()Clear the shadow layer. | ||
Descent()Return the distance below (positive) the baseline (descent) based on the current typeface and text size. | ||
GetFillPath(Path, Path)Applies any/all effects (patheffect, stroking) to src, returning the result in dst. | ||
GetFontMetrics()Allocates a new FontMetrics object, and then calls getFontMetrics(fm) with it, returning the object. | ||
GetFontMetrics(Paint.FontMetrics)Return the font's recommended interline spacing, given the Paint's settings for typeface, textSize, etc. | ||
GetFontMetricsInt() | ||
GetFontMetricsInt(Paint.FontMetricsInt)Return the font's interline spacing, given the Paint's settings for typeface, textSize, etc. | ||
GetStyle()Return the paint's style, used for controlling how primitives' geometries are interpreted (except for drawBitmap, which always assumes FILL_STYLE). | ||
GetTextBounds(char[], int, int, Rect)Return in bounds (allocated by the caller) the smallest rectangle that encloses all of the characters, with an implied origin at (0,0). | ||
GetTextBounds(string, int, int, Rect)Return in bounds (allocated by the caller) the smallest rectangle that encloses all of the characters, with an implied origin at (0,0). | ||
GetTextPath(char[], int, int, float, float, Path)Return the path (outline) for the specified text. | ||
GetTextPath(string, int, int, float, float, Path)Return the path (outline) for the specified text. | ||
GetTextWidths(string, float[])Return the advance widths for the characters in the string. | ||
GetTextWidths(Java.Lang.ICharSequence, int, int, float[])Return the advance widths for the characters in the string. | ||
GetTextWidths(char[], int, int, float[])Return the advance widths for the characters in the string. | ||
GetTextWidths(string, int, int, float[])Return the advance widths for the characters in the string. | ||
MeasureText(string)Return the width of the text. | ||
MeasureText(Java.Lang.ICharSequence, int, int)Return the width of the text. | ||
MeasureText(char[], int, int)Return the width of the text. | ||
MeasureText(string, int, int)Return the width of the text. | ||
Reset()Restores the paint to its default settings. | ||
Set(Paint)Copy the fields from src into this paint. | ||
SetARGB(int, int, int, int)Helper to setColor(), that takes a,r,g,b and constructs the color int | ||
SetColorFilter(ColorFilter)Set or clear the paint's colorfilter, returning the parameter. | ||
SetMaskFilter(MaskFilter)Set or clear the maskfilter object. | ||
SetPathEffect(PathEffect)Set or clear the patheffect object. | ||
SetRasterizer(Rasterizer)Set or clear the rasterizer object. | ||
SetShader(Shader)Set or clear the shader object. | ||
SetShadowLayer(float, float, float, Color)This draws a shadow layer below the main layer, with the specified offset and color, and blur radius. | ||
SetStyle(Paint.Style)Set the paint's style, used for controlling how primitives' geometries are interpreted (except for drawBitmap, which always assumes Fill). | ||
SetTypeface(Typeface)Set or clear the typeface object. | ||
SetXfermode(Xfermode)Set or clear the xfermode object. |