get_tile method

get_tile

Creates a tile image for the pattern fill.

Returns

Tile aspose.pydrawing.Bitmap.

def get_tile(self, style_color):
    ...
ParameterTypeDescription
style_coloraspose.pydrawing.ColorThe default aspose.pydrawing.Color,

defined in ShapeEx’s StyleEx object. Fill’s colors can depend on this.

get_tile

Creates a tile image for the pattern fill with a specified colors.

Returns

Tile aspose.pydrawing.Bitmap.

def get_tile(self, background, foreground):
    ...
ParameterTypeDescription
backgroundaspose.pydrawing.ColorThe background aspose.pydrawing.Color for the pattern.
foregroundaspose.pydrawing.ColorThe foreground aspose.pydrawing.Color for the pattern.

See Also