coordseq[, tex2html_wrap_inline$<$optionstex2html_wrap_inline$>$]) |
coordseq[, tex2html_wrap_inline$<$optionstex2html_wrap_inline$>$]) |
coordseq[, tex2html_wrap_inline$<$optionstex2html_wrap_inline$>$]) |
coordseq[, tex2html_wrap_inline$<$optionstex2html_wrap_inline$>$]) |
coordseq, start, end[, tex2html_wrap_inline$<$optionstex2html_wrap_inline$>$]) |
0
is to the right, the angle
pi/2
is straight up, pi
is to the left and-pi/2
is straight down. coordseq is interpreted the same way as for
the ellipse method.
For more
information about the choices available for options, see
Section 3.3.4.
coordseq, start, end[, tex2html_wrap_inline$<$optionstex2html_wrap_inline$>$]) |
0
is to the right, the angle
pi/2
is straight up, pi
is to the left and-pi/2
is straight down. coordseq is interpreted the same way as for
the ellipse method. For more information about the choices
available for options, see Section
3.3.4.
coordseq[, tex2html_wrap_inline$<$optionstex2html_wrap_inline$>$]) |
[color=0xffffff]) |
coordseq, text[fill=0, font=None]) |
text[font=None, maxwidth=-1, maxadvance=-1]) |
Returns a tuple of three values:
image[,target=(0,0), source=((0,0),image.size), mask=None, scale=0]) |
None
. If the mask is
given, the source area is copied where the mask is white. mask
can be either None
, a 1-bit (black and white) Image or
a grayscale Image, and must be of the same size as the source image. A grayscale mask acts
as an alpha channel, i.e. partial transparency.
target and source specify the target area in this image and the source area in the given source. They are coordinate sequences of one or two coordinates. If they specify one coordinate, it is interpreted as the upper-left corner for the area; if they specify two coordinates, they are interpreted as the top-left and bottom-right corners of the area.
If scale is other than zero, scaling is performed on the fly while copying the source area to the target area. If scale is zero, no scaling is performed, and the size of the copied area is clipped to the smaller of source and target areas.
Note that a blit operation with scaling is slower than one without scaling. If you need to blit the same Image many times in a scaled form, consider making a temporary Image of the scaling result and blitting it without scaling. Note also that the scaling performed by the blit operation is much faster but of worse quality than the one done by the resize method, since the blit method does not perform any antialiasing.
See About this document... for information on suggesting changes.