| 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 40 of file contents.h.

## Member Enumeration Documentation

## ◆ Type

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

Enumerator
kNoChange |
kAppend |
kRestore |

Definition at line 41 of file contents.h.

41 { kNoChange, kAppend, kRestore };

## Member Data Documentation

## ◆ coverage

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

Definition at line 44 of file contents.h.

Referenced by impeller::EntityPassClipStack::ApplyClipState().

## ◆ type

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

Definition at line 43 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

impeller::kRestore
@ kRestore
Definition: canvas_recorder.h:23