PrinterOffset class

Constructors

PrinterOffset(double? x, double? y)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double?
final
y double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
translate(double translateX, double translateY) PrinterOffset
Returns a new offset with translateX added to the x component and translateY added to the y component.

Operators

operator %(double operand) PrinterOffset
Modulo (remainder) operator.
operator &(PrinterSize other) PrinterRect
operator *(double operand) PrinterOffset
Multiplication operator.
operator +(PrinterOffset other) PrinterOffset
Binary addition operator.
operator -(PrinterOffset other) PrinterOffset
Binary subtraction operator.
operator /(double operand) PrinterOffset
Division operator.
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() PrinterOffset
Unary negation operator.
operator ~/(double operand) PrinterOffset
Integer (truncating) division operator.

Constants

infinite → const PrinterOffset
An offset with infinite x and y components.
zero → const PrinterOffset
An offset with zero magnitude.