Matrix.ScaleToFit
- class ScaleToFit
Members:
kFill_ScaleToFit : scales in x and y to fill destination SkRect
kStart_ScaleToFit : scales and aligns to left and top
kCenter_ScaleToFit : scales and aligns to center
kEnd_ScaleToFit : scales and aligns to right and bottom
Methods
Attributes
Methods
- ScaleToFit.__init__(self: skia.Matrix.ScaleToFit, value: int) None
Attributes
- ScaleToFit.kCenter_ScaleToFit = <ScaleToFit.kCenter_ScaleToFit: 2>
- ScaleToFit.kEnd_ScaleToFit = <ScaleToFit.kEnd_ScaleToFit: 3>
- ScaleToFit.kFill_ScaleToFit = <ScaleToFit.kFill_ScaleToFit: 0>
- ScaleToFit.kStart_ScaleToFit = <ScaleToFit.kStart_ScaleToFit: 1>
- ScaleToFit.name
- ScaleToFit.value