tResize static method
Basic Transformations
-
height
: height (Default: 0) -
width
: width (Default: 0) -
fit
: TFit (Default: cover) -
background
: background (Default: "000000") -
position
: TPosition (Default: center) -
algorithm
: TAlgorithm (Default: lanczos3) -
dpr
: DPR (Default: 1)
Returns TransformationData.
Implementation
static TransformationData tResize(
{int? height = 0,
int? width = 0,
TFit? fit = TFit.cover,
String? background = "000000",
TPosition? position = TPosition.center,
TAlgorithm? algorithm = TAlgorithm.lanczos3,
double? dpr = 1}) {
// Call the generated class method
return TResize()
.resize(height, width, fit, background, position, algorithm, dpr);
}