Skip navigation links
A B C D E G I L M N O P R S W 

A

advance() - Method in class com.pixplicity.sharp.SvgParserHelper
 

B

buildFloat(int, int) - Static method in class com.pixplicity.sharp.SvgParserHelper
Computes a float from mantissa and exponent.

C

characters(char[], int, int) - Method in class com.pixplicity.sharp.Sharp.SvgHandler
 
checkAssumedUnits(String) - Static method in class com.pixplicity.sharp.Sharp
 
close(InputStream) - Method in class com.pixplicity.sharp.Sharp
 
com.pixplicity.sharp - package com.pixplicity.sharp
 
createDrawable(View, int) - Method in class com.pixplicity.sharp.SharpPicture
Create a drawable from the SVG with its bounds set to sizeInPixels such that its aspect ratio is retained.

D

draw(Canvas) - Method in class com.pixplicity.sharp.SharpDrawable
 

E

endDocument() - Method in class com.pixplicity.sharp.Sharp.SvgHandler
 
endElement(String, String, String) - Method in class com.pixplicity.sharp.Sharp.SvgHandler
 

G

getBounds() - Method in class com.pixplicity.sharp.SharpPicture
Gets the bounding rectangle for the SVG, if one was specified.
getDrawable() - Method in class com.pixplicity.sharp.Sharp
Processes the SVG and provides the resulting drawable.
getDrawable(View) - Method in class com.pixplicity.sharp.Sharp
Deprecated.
Use Sharp.getDrawable() instead.
getDrawable(View, Sharp.DrawableCallback) - Method in class com.pixplicity.sharp.Sharp
Processes the SVG and provides the resulting drawable.
getDrawable() - Method in class com.pixplicity.sharp.SharpPicture
Create a drawable from the SVG.
getDrawable(View) - Method in class com.pixplicity.sharp.SharpPicture
Deprecated.
getInputStream() - Method in class com.pixplicity.sharp.Sharp
 
getLimits() - Method in class com.pixplicity.sharp.SharpPicture
Gets the bounding rectangle for the SVG that was computed upon parsing.
getPicture() - Method in class com.pixplicity.sharp.SharpPicture
Get the parsed SVG picture data.
getSharpPicture() - Method in class com.pixplicity.sharp.Sharp
 
getSharpPicture(Sharp.PictureCallback) - Method in class com.pixplicity.sharp.Sharp
 

I

into(View) - Method in class com.pixplicity.sharp.Sharp
 

L

loadAsset(AssetManager, String) - Static method in class com.pixplicity.sharp.Sharp
Parse SVG data from an Android application asset.
loadFile(File) - Static method in class com.pixplicity.sharp.Sharp
Parse SVG data from a file.
loadInputStream(InputStream) - Static method in class com.pixplicity.sharp.Sharp
Parse SVG data from an input stream.
loadPath(String) - Static method in class com.pixplicity.sharp.Sharp
Parses a single SVG path and returns it as a android.graphics.Path object.
loadResource(Resources, int) - Static method in class com.pixplicity.sharp.Sharp
Parse SVG data from an Android application resource.
loadString(String) - Static method in class com.pixplicity.sharp.Sharp
Parse SVG data from a text.

M

mapColor(String) - Static method in class com.pixplicity.sharp.SvgColors
 

N

nextFlag() - Method in class com.pixplicity.sharp.SvgParserHelper
 
nextFloat() - Method in class com.pixplicity.sharp.SvgParserHelper
 

O

onDrawableReady(SharpDrawable) - Method in interface com.pixplicity.sharp.Sharp.DrawableCallback
 
onPictureReady(SharpPicture) - Method in interface com.pixplicity.sharp.Sharp.PictureCallback
 
onSvgElement(String, T, RectF, Canvas, RectF, Paint) - Method in interface com.pixplicity.sharp.OnSvgElementListener
 
onSvgElementDrawn(String, T, Canvas, Paint) - Method in interface com.pixplicity.sharp.OnSvgElementListener
 
OnSvgElementListener - Interface in com.pixplicity.sharp
 
onSvgEnd(Canvas, RectF) - Method in interface com.pixplicity.sharp.OnSvgElementListener
 
onSvgStart(Canvas, RectF) - Method in interface com.pixplicity.sharp.OnSvgElementListener
 

P

parseFloat() - Method in class com.pixplicity.sharp.SvgParserHelper
Parses the content of the buffer and converts it to a float.
pos - Variable in class com.pixplicity.sharp.SvgParserHelper
 
prepareTexts(HashMap<String, String>) - Static method in class com.pixplicity.sharp.Sharp
 
prepareView(View) - Static method in class com.pixplicity.sharp.SharpDrawable
Prepare a view for rendering this SharpDrawable by setting its LayerType to LAYER_TYPE_SOFTWARE.

R

read(InputStream) - Method in class com.pixplicity.sharp.Sharp.SvgHandler
 
render(Canvas) - Method in class com.pixplicity.sharp.Sharp.SvgHandler.SvgText
 
resetCache() - Method in class com.pixplicity.sharp.SharpDrawable
 

S

setBounds(int, int, int, int) - Method in class com.pixplicity.sharp.SharpDrawable
 
setCacheScale(float) - Method in class com.pixplicity.sharp.SharpDrawable
 
setCaching(boolean) - Method in class com.pixplicity.sharp.SharpDrawable
Experimental feature to cache the drawable into a bitmap.
setOnElementListener(OnSvgElementListener) - Method in class com.pixplicity.sharp.Sharp
 
setText(char[], int, int) - Method in class com.pixplicity.sharp.Sharp.SvgHandler.SvgText
 
Sharp - Class in com.pixplicity.sharp
Entry point for parsing SVG files for Android.
Sharp.DrawableCallback - Interface in com.pixplicity.sharp
 
Sharp.PictureCallback - Interface in com.pixplicity.sharp
 
Sharp.SvgHandler - Class in com.pixplicity.sharp
 
Sharp.SvgHandler.SvgGroup - Class in com.pixplicity.sharp
 
Sharp.SvgHandler.SvgText - Class in com.pixplicity.sharp
Holds text properties as these are only applied with the end tag is encountered.
SharpDrawable - Class in com.pixplicity.sharp
 
SharpDrawable(Picture) - Constructor for class com.pixplicity.sharp.SharpDrawable
Construct a new drawable referencing the specified picture.
SharpDrawable(View, Picture) - Constructor for class com.pixplicity.sharp.SharpDrawable
Construct a new drawable referencing the specified picture.
SharpPicture - Class in com.pixplicity.sharp
Describes a vector Picture object, and optionally its bounds.
skipNumberSeparator() - Method in class com.pixplicity.sharp.SvgParserHelper
 
skipWhitespace() - Method in class com.pixplicity.sharp.SvgParserHelper
 
startDocument() - Method in class com.pixplicity.sharp.Sharp.SvgHandler
 
startElement(String, String, String, Attributes) - Method in class com.pixplicity.sharp.Sharp.SvgHandler
 
SvgColors - Class in com.pixplicity.sharp
 
SvgColors() - Constructor for class com.pixplicity.sharp.SvgColors
 
SvgGroup(String) - Constructor for class com.pixplicity.sharp.Sharp.SvgHandler.SvgGroup
 
SvgParseException - Exception in com.pixplicity.sharp
Runtime exception thrown when there is a problem parsing an SVG.
SvgParseException(String) - Constructor for exception com.pixplicity.sharp.SvgParseException
 
SvgParseException(String, Throwable) - Constructor for exception com.pixplicity.sharp.SvgParseException
 
SvgParseException(Throwable) - Constructor for exception com.pixplicity.sharp.SvgParseException
 
SvgParserHelper - Class in com.pixplicity.sharp
Parses numbers from SVG text.
SvgParserHelper(CharSequence, int) - Constructor for class com.pixplicity.sharp.SvgParserHelper
 
SvgText(Attributes, Sharp.SvgHandler.SvgText) - Constructor for class com.pixplicity.sharp.Sharp.SvgHandler.SvgText
 

W

withAssets(AssetManager) - Method in class com.pixplicity.sharp.Sharp
 
A B C D E G I L M N O P R S W 
Skip navigation links