animator.skia.ImageFilter¶
- class animator.skia.ImageFilter¶
Bases:
animator.skia.Flattenable- __init__(*args, **kwargs)¶
Methods
Deserialize(data)DeserializeAsType(type, data)Deserialize a flattenable of the given type from a buffer data.
__init__(*args, **kwargs)asAColorFilter(self)canComputeFastBounds(self)computeFastBounds(self, bounds)countInputs(self)filterBounds(self, src, ctm, direction[, ...])getFlattenableType(self)getInput(self, i)getTypeName(self)isColorFilterNode(self)makeWithLocalMatrix(self, matrix)serialize(self)- static Deserialize(data: buffer) animator.skia.ImageFilter¶
- static DeserializeAsType(type: animator.skia.Flattenable.Type, data: buffer) Union[SkColorFilter, SkBlender, SkImageFilter, SkMaskFilter, SkPathEffect, SkShader]¶
Deserialize a flattenable of the given type from a buffer data. The return value is correctly typed.
- class MapDirection¶
Bases:
pybind11_builtins.pybind11_objectMembers:
kForward_MapDirection
kReverse_MapDirection
- property name¶
- class Type¶
Bases:
pybind11_builtins.pybind11_objectMembers:
kColorFilter_Type
kBlender_Type
kDrawable_Type
kImageFilter_Type
kMaskFilter_Type
kPathEffect_Type
kShader_Type
- property name¶
- asAColorFilter(self: animator.skia.ImageFilter) Optional[animator.skia.ColorFilter]¶
- canComputeFastBounds(self: animator.skia.ImageFilter) bool¶
- computeFastBounds(self: animator.skia.ImageFilter, bounds: animator.skia.Rect) animator.skia.Rect¶
- countInputs(self: animator.skia.ImageFilter) int¶
- filterBounds(self: animator.skia.ImageFilter, src: animator.skia.IRect, ctm: animator.skia.Matrix, direction: animator.skia.ImageFilter.MapDirection, inputRect: animator.skia.IRect = None) animator.skia.IRect¶
- getFlattenableType(self: animator.skia.Flattenable) animator.skia.Flattenable.Type¶
- getInput(self: animator.skia.ImageFilter, i: int) animator.skia.ImageFilter¶
- getTypeName(self: animator.skia.Flattenable) str¶
- isColorFilterNode(self: animator.skia.ImageFilter) Optional[animator.skia.ColorFilter]¶
- makeWithLocalMatrix(self: animator.skia.ImageFilter, matrix: animator.skia.Matrix) animator.skia.ImageFilter¶
- serialize(self: animator.skia.Flattenable) animator.skia.Data¶