CanvasBox class

The box a canvas takes, and the size it's laid out at inside it.

Annotations

Constructors

CanvasBox({required double width, required double? height, required double layoutWidth, required double? layoutHeight, required double scale})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
layoutHeight → double?
final
layoutWidth → double
The size the canvas lays out at (its design size when scaled).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → double
layout → box scale (1 unless autoScale).
final
width → double
The box (null height: the canvas's content height).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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