Table Of Contents

Previous topic

RectEllipse

Next topic

ScaledBitmap2

This Page

phoenix_title ScaledBitmap

This class creates a bitmap object, placed at the coordinates, XY, of Height, H, in World coordinates. The width is calculated from the aspect ratio of the bitmap.

the “Position” argument is a two character string, indicating where in relation to the coordinates the bitmap should be oriented.

The first letter is: t, c, or b, for top, center and bottom The second letter is: l, c, or r, for left, center and right The position refers to the position relative to the text itself. It defaults to “tl” (top left).

The size scales with the drawing


class_hierarchy Inheritance Diagram

Inheritance diagram for class ScaledBitmap

Inheritance diagram of ScaledBitmap


method_summary Methods Summary

__init__  
CalcBoundingBox  

api Class API



class ScaledBitmap(TextObjectMixin, DrawObject)

This class creates a bitmap object, placed at the coordinates, XY, of Height, H, in World coordinates. The width is calculated from the aspect ratio of the bitmap.

the “Position” argument is a two character string, indicating where in relation to the coordinates the bitmap should be oriented.

The first letter is: t, c, or b, for top, center and bottom The second letter is: l, c, or r, for left, center and right The position refers to the position relative to the text itself. It defaults to “tl” (top left).

The size scales with the drawing


Methods



__init__(self, Bitmap, XY, Height, Position = 'tl', InForeground = False)


CalcBoundingBox(self)