SVGLoader class
Constructors
- SVGLoader([dynamic manager])
Properties
- crossOrigin ↔ String
-
getter/setter pairinherited
- defaultDPI ↔ num
-
getter/setter pair
- defaultUnit ↔ String
-
getter/setter pair
- flipY ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- manager ↔ LoadingManager
-
getter/setter pairinherited
- mimeType ↔ String
-
getter/setter pairinherited
- path ↔ String
-
getter/setter pairinherited
-
requestHeader
↔ Map<
String, dynamic> -
getter/setter pairinherited
- resourcePath ↔ String?
-
getter/setter pairinherited
- responseType ↔ String
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- withCredentials ↔ bool
-
getter/setter pairinherited
Methods
-
load(
dynamic url, Function onLoad, [Function? onProgress, Function? onError]) → dynamic -
override
-
loadAsync(
dynamic url, [dynamic onProgress]) → Future -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
dynamic text, [String? path, Function? onLoad, Function? onError]) → dynamic -
override
-
setCrossOrigin(
String crossOrigin) → Loader -
inherited
-
setPath(
String path) → Loader -
inherited
-
setRequestHeader(
Map< String, dynamic> requestHeader) → Loader -
inherited
-
setResourcePath(
String? resourcePath) → Loader -
inherited
-
setWithCredentials(
bool value) → Loader -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createShapes(
dynamic shapePath) → dynamic -
getStrokeStyle(
dynamic width, dynamic color, dynamic lineJoin, dynamic lineCap, dynamic miterLimit) → Map< String, dynamic> -
pointsToStroke(
dynamic points, dynamic style, [dynamic arcDivisions, dynamic minDistance]) → dynamic -
pointsToStrokeWithBuffers(
dynamic points, dynamic style, dynamic arcDivisions, dynamic minDistance, dynamic vertices, dynamic normals, dynamic uvs, dynamic vertexOffset) → dynamic