SVGHandler

class SVGHandler(val scale: Vector2) : DefaultHandler

Constructors

Link copied to clipboard
constructor(scale: Vector2)

Properties

Link copied to clipboard
var nextID: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Feather source code snippets containing PolygonBuilders for the paths. Note, other shapes, circle, ellipse, rect are NOT included.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun characters(p0: CharArray, p1: Int, p2: Int)
Link copied to clipboard
fun color(attributes: Attributes): Color?
Link copied to clipboard
fun colorShape(shape: Shape2d, attributes: Attributes): Shape2d
Link copied to clipboard
open override fun endDocument()
Link copied to clipboard
open override fun endElement(uri: String, localName: String, qName: String)
Link copied to clipboard
open override fun endPrefixMapping(p0: String)
Link copied to clipboard
open override fun error(p0: SAXParseException)
Link copied to clipboard
open override fun fatalError(p0: SAXParseException)
Link copied to clipboard
Link copied to clipboard
open override fun ignorableWhitespace(p0: CharArray, p1: Int, p2: Int)
Link copied to clipboard
Link copied to clipboard
open override fun notationDecl(p0: String, p1: String, p2: String)
Link copied to clipboard
fun parseCircle(attributes: Attributes)
Link copied to clipboard
fun parseEllipse(attributes: Attributes)
Link copied to clipboard

See https://www.w3.org/TR/SVG11/paths.html#PathData

fun parsePath(attributes: Attributes)
Link copied to clipboard
fun parsePolyline(attributes: Attributes)
Link copied to clipboard
fun parseRect(attributes: Attributes)
Link copied to clipboard
fun parseSVG(attributes: Attributes)
Link copied to clipboard
fun parseTransform(transStr: String?): Matrix2d
Link copied to clipboard
open override fun processingInstruction(p0: String, p1: String)
Link copied to clipboard
fun rememberShape(name: String?, shape: Shape2d)
Link copied to clipboard
open override fun resolveEntity(p0: String, p1: String): InputSource
Link copied to clipboard
open override fun setDocumentLocator(p0: Locator)
Link copied to clipboard
open override fun skippedEntity(p0: String)
Link copied to clipboard
open override fun startDocument()
Link copied to clipboard
open override fun startElement(uri: String, localName: String, qName: String, attributes: Attributes)
Link copied to clipboard
open override fun startPrefixMapping(p0: String, p1: String)
Link copied to clipboard
open override fun unparsedEntityDecl(p0: String, p1: String, p2: String, p3: String)
Link copied to clipboard
open override fun warning(p0: SAXParseException)