Method Image.Image()->skewy_expand()
- Method skewy_expand
skewy(object
int
y
)
skewy(object
float
xfactor
)
skewy(object
int
y
,int
r
,int
g
,int
b
)
skewy(object
float
xfactor
,int
r
,int
g
,int
b
)
skewy_expand(object
int
y
)
skewy_expand(object
float
xfactor
)
skewy_expand(object
int
y
,int
r
,int
g
,int
b
)
skewy_expand(object
float
xfactor
,int
r
,int
g
,int
b
)- Description
-
Skews an image an amount of pixels or a factor; a skew-y is a transformation:
original ->skewy(15,255,0,0); ->skewy_expand(15); The "expand" variant of functions stretches the image border pixels rather then filling with the given or current color.
- Parameter
y
-
the number of pixels
- Parameter
xfactor
-
best described as: t=xfactor*this->xsize()
- Parameter
r
- Parameter
g
- Parameter
b
-
color to fill with; default is current
- Returns
-
the new image object