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