| Flutter Impeller |

Public Member Functions | Public Attributes | List of all members
impeller::ContourComponent Struct Reference

`#include <path_component.h>`

## Public Member Functions
| ContourComponent ()
| ContourComponent (Point p, bool is_closed=false)
bool | operator== (const ContourComponent &other) const

## Public Attributes
Point | destination
bool | is_closed = false

## Detailed Description

Definition at line 137 of file path_component.h.

## Constructor & Destructor Documentation

## ◆ ContourComponent() [1/2]

impeller::ContourComponent::ContourComponent | ( |  | ) |
| inline

Definition at line 141 of file path_component.h.

141 {}

## ◆ ContourComponent() [2/2]

impeller::ContourComponent::ContourComponent | ( | Point | p,
|  | bool | is_closed = `false`
| ) |  |
| inline

Definition at line 143 of file path_component.h.

144 : destination(p), is_closed(is_closed) {}

## Member Function Documentation

## ◆ operator==()

bool impeller::ContourComponent::operator== | ( | const ContourComponent & | other | ) | const
| inline

Definition at line 146 of file path_component.h.

146 {
147 return destination == other.destination && is_closed == other.is_closed;
148 }

References destination, and is_closed.

## Member Data Documentation

## ◆ destination

Point impeller::ContourComponent::destination

Definition at line 138 of file path_component.h.

Referenced by operator==(), and impeller::testing::TEST().

## ◆ is_closed

bool impeller::ContourComponent::is_closed = false

Definition at line 139 of file path_component.h.

Referenced by operator==(), and impeller::testing::TEST().

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

- impeller/geometry/path_component.h

impeller::ContourComponent::is_closed
bool is_closed
Definition: path_component.h:139
impeller::ContourComponent::destination
Point destination
Definition: path_component.h:138