Flutter Engine
The Flutter Engine
|
Info about a single frame in the context of a multi-frame image, useful for animation and blending. More...
#include <image_generator.h>
Public Attributes | |
std::optional< unsigned int > | required_frame |
unsigned int | duration |
SkCodecAnimation::DisposalMethod | disposal_method |
How this frame should be modified before decoding the next one. More... | |
std::optional< SkIRect > | disposal_rect |
The region of the frame that is affected by the disposal method. More... | |
SkCodecAnimation::Blend | blend_mode |
How this frame should be blended with the previous frame. More... | |
Info about a single frame in the context of a multi-frame image, useful for animation and blending.
Definition at line 35 of file image_generator.h.
SkCodecAnimation::Blend flutter::ImageGenerator::FrameInfo::blend_mode |
How this frame should be blended with the previous frame.
Definition at line 51 of file image_generator.h.
SkCodecAnimation::DisposalMethod flutter::ImageGenerator::FrameInfo::disposal_method |
How this frame should be modified before decoding the next one.
Definition at line 45 of file image_generator.h.
std::optional<SkIRect> flutter::ImageGenerator::FrameInfo::disposal_rect |
The region of the frame that is affected by the disposal method.
Definition at line 48 of file image_generator.h.
unsigned int flutter::ImageGenerator::FrameInfo::duration |
Number of milliseconds to show this frame. 0 means only show it for one frame.
Definition at line 42 of file image_generator.h.
std::optional<unsigned int> flutter::ImageGenerator::FrameInfo::required_frame |
The frame index of the frame that, if any, this frame needs to be blended with.
Definition at line 38 of file image_generator.h.