SVGRenderer class

Constructors

SVGRenderer({dynamic quality = SVGQuality.high, required double width, required double height, bool autoClear = false, int? precision, double overdraw = 0.5, bool edgeOnly = false})

Properties

autoClear bool
getter/setter pair
edgeOnly bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double
getter/setter pair
heightHalf double
getter/setter pair
info SVGRendererInfo
getter/setter pair
lights List<Light>?
getter/setter pair
overdraw double
getter/setter pair
precision int?
getter/setter pair
quality SVGQuality
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size → Vector2
no setter
sortElements bool
getter/setter pair
sortObjects bool
getter/setter pair
svg SVGDocument
getter/setter pair
width double
getter/setter pair
widthHalf double
getter/setter pair

Methods

addPath(String style, String path) → void
calculateLight(List<Light> lights, Vector3 position, Vector3 normal, Color color) → void
calculateLights(List<Light> lights) → void
clear() → void
convert(num c) String
expand(Vector4 v1, Vector4 v2, double pixels) → void
flushPath() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeChildNodes() → void
render(Scene scene, Camera camera) → void
renderFace3(dynamic v1, dynamic v2, dynamic v3, dynamic element, Material material) → void
renderLine(dynamic v1, dynamic v2, Material material) → void
renderSprite(dynamic v1, dynamic element, Material material) → void
setClearColor(Color color) → void
setPixelRatio() → void
setPrecision(int precision) → void
setQuality(SVGQuality quality) → void
setSize(double width, double height) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited