| Flutter Impeller |

Public Types | Public Attributes | List of all members
impeller::Contents::ClipCoverage Struct Reference

`#include <contents.h>`

## Public Types
enum | Type { Type::kNoChange, Type::kAppend, Type::kRestore }

## Public Attributes
Type | type = Type::kNoChange
std::optional< Rect > | coverage = std::nullopt

## Detailed Description

Definition at line 37 of file contents.h.

## Member Enumeration Documentation

## ◆ Type

enum impeller::Contents::ClipCoverage::Type
| strong

Enumerator
kNoChange |
kAppend |
kRestore |

Definition at line 38 of file contents.h.

38 { kNoChange, kAppend, kRestore };

## Member Data Documentation

## ◆ coverage

std::optional<Rect> impeller::Contents::ClipCoverage::coverage = std::nullopt

Definition at line 41 of file contents.h.

Referenced by impeller::EntityPassClipStack::ApplyClipState(), and impeller::ExperimentalCanvas::Restore().

## ◆ type

Type impeller::Contents::ClipCoverage::type = Type::kNoChange

Definition at line 40 of file contents.h.

Referenced by impeller::EntityPassClipStack::ApplyClipState(), impeller::ClipContents::GetClipCoverage(), impeller::ClipRestoreContents::GetClipCoverage(), impeller::Contents::GetClipCoverage(), and impeller::testing::TEST().

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

- impeller/entity/contents/contents.h