Flutter Engine
The Flutter Engine
Classes | Public Attributes | List of all members
impeller::Path::PolylineContour Struct Reference

#include <path.h>

Classes

struct  Component
 

Public Attributes

size_t start_index
 Index that denotes the first point of this contour. More...
 
bool is_closed
 
Vector2 start_direction
 The direction of the contour's start cap. More...
 
Vector2 end_direction
 The direction of the contour's end cap. More...
 
std::vector< Componentcomponents
 

Detailed Description

Definition at line 61 of file path.h.

Member Data Documentation

◆ components

std::vector<Component> impeller::Path::PolylineContour::components

Distinct components in this contour.

If this contour is generated from multiple path components, each path component forms a component in this vector.

Definition at line 86 of file path.h.

◆ end_direction

Vector2 impeller::Path::PolylineContour::end_direction

The direction of the contour's end cap.

Definition at line 80 of file path.h.

◆ is_closed

bool impeller::Path::PolylineContour::is_closed

Denotes whether the last point of this contour is connected to the first point of this contour or not.

Definition at line 75 of file path.h.

◆ start_direction

Vector2 impeller::Path::PolylineContour::start_direction

The direction of the contour's start cap.

Definition at line 78 of file path.h.

◆ start_index

size_t impeller::Path::PolylineContour::start_index

Index that denotes the first point of this contour.

Definition at line 71 of file path.h.


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