Dart Documentationorson_chartsRefPt2D

RefPt2D class

An enumeration of standard reference points within a rectangle on-screen.

Static Properties

const BOTTOM_CENTER #

The center of the bottom edge.

const BOTTOM_LEFT #

The bottom-left corner.

const BOTTOM_RIGHT #

The bottom-right corner.

const CENTER #

The center of the rectangle.

const CENTER_LEFT #

The center of the left edge.

const CENTER_RIGHT #

The center of the right edge.

const TOP_CENTER #

The center of the top edge.

const TOP_LEFT #

The top-left corner.

const TOP_RIGHT #

The top-right corner.

final values #

Returns all possible values of the enumeration.

Static Methods

RefPt2D fromString(String s) #

Converts the string to an item from the enumeration.

Properties

final int value #

A numerical representation.

Methods

bool isBottom() #

Returns true for those reference points on the bottom edge, and false otherwise.

bool isHorizontalCenter() #

Returns true for those reference points centered horizontally, and false otherwise.

bool isLeft() #

Returns true for those reference points on the left side, and false otherwise.

bool isRight() #

Returns true for those reference points on the right side, and false otherwise.

bool isTop() #

Returns true for those reference points on the top edge, and false otherwise.

bool isVerticalCenter() #

Returns true for those reference points centered vertically, and false otherwise.