Canvas.SrcRectConstraint

class SrcRectConstraint

Members:

kStrict_SrcRectConstraint :

sample only inside bounds; slower

kFast_SrcRectConstraint :

sample outside bounds; faster

Methods

__init__

Attributes

kFast_SrcRectConstraint

kStrict_SrcRectConstraint

name

value

Methods

SrcRectConstraint.__init__(self: skia.Canvas.SrcRectConstraint, value: int) None

Attributes

SrcRectConstraint.kFast_SrcRectConstraint = <SrcRectConstraint.kFast_SrcRectConstraint: 1>
SrcRectConstraint.kStrict_SrcRectConstraint = <SrcRectConstraint.kStrict_SrcRectConstraint: 0>
SrcRectConstraint.name
SrcRectConstraint.value