discontinuedPackage vector_graphics_compiler_plus has been discontinued and replaced by vector_graphics_compiler.

LineToCommand class

A straight line from the current point to x,y.

Inheritance

Constructors

LineToCommand(double x, double y)
Creates a straight line command from the current point to x,y.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → PathCommandType
The type of this path command.
finalinherited
x → double
The absolute offset of the destination point for this path from the x axis.
final
y → double
The absolute offset of the destination point for this path from the y axis.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFlutterString() → String
A representation of this path command for dart:ui.
override
toString() → String
A string representation of this object.
override
transformed(AffineMatrix matrix) → LineToCommand
Returns a new path command transformed by matrix.
override

Operators

operator ==(Object other) → bool
The equality operator.
override