| Flutter Linux Embedder |

Public Member Functions | List of all members
flutter::Point Class Reference

`#include <geometry.h>`

## Public Member Functions
| Point ()=default
| Point (double x, double y)
| Point (const Point &point)=default
Point & | operator= (const Point &other)=default
double | x () const
double | y () const
bool | operator== (const Point &other) const

## Detailed Description

Definition at line 15 of file geometry.h.

## Constructor & Destructor Documentation

## ◆ Point() [1/3]

flutter::Point::Point | ( |  | ) |
| default

## ◆ Point() [2/3]

flutter::Point::Point | ( | double | x,
|  | double | y
| ) |  |
| inline

Definition at line 18 of file geometry.h.

18 : x_(x), y_(y) {}
flutter::Point::x
double x() const
Definition: geometry.h:22
flutter::Point::y
double y() const
Definition: geometry.h:23

## ◆ Point() [3/3]

flutter::Point::Point | ( | const Point & | point | ) |
| default

## Member Function Documentation

## ◆ operator=()

Point& flutter::Point::operator= | ( | const Point & | other | ) |
| default

## ◆ operator==()

bool flutter::Point::operator== | ( | const Point & | other | ) | const
| inline

Definition at line 25 of file geometry.h.

25 {
26 return x_ == other.x_ && y_ == other.y_;
27 }

## ◆ x()

double flutter::Point::x | ( |  | ) | const
| inline

Definition at line 22 of file geometry.h.

22 { return x_; }

Referenced by flutter::Rect::left(), flutter::Rect::right(), and flutter::TEST().

## ◆ y()

double flutter::Point::y | ( |  | ) | const
| inline

Definition at line 23 of file geometry.h.

23 { return y_; }

Referenced by flutter::Rect::bottom(), flutter::TEST(), and flutter::Rect::top().

The documentation for this class was generated from the following file:

- shell/platform/common/geometry.h