Dart Documentationorson_chartsOffset2D

Offset2D class

An offset (dx, dy) in two-dimensional space.

Static Properties

final Offset2D ZERO_OFFSET #

A zero offset.

Constructors

new Offset2D(num dx, num dy) #

Creates a new offset (dx, dy).

Properties

final num dx #

The x-offset.

final num dy #

The y-offset.