Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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.
 
bool is_closed
 
Vector2 start_direction
 The direction of the contour's start cap.
 
Vector2 end_direction
 The direction of the contour's end cap.
 
std::vector< Componentcomponents
 

Detailed Description

Definition at line 60 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 85 of file path.h.

◆ end_direction

Vector2 impeller::Path::PolylineContour::end_direction

The direction of the contour's end cap.

Definition at line 79 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 74 of file path.h.

◆ start_direction

Vector2 impeller::Path::PolylineContour::start_direction

The direction of the contour's start cap.

Definition at line 77 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 70 of file path.h.


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