The bitmap class. Bitmaps are expressions of so-called graphics.
Sprites (Sprite) and other objects must be used to display bitmaps on the screen.
Loads the graphic file specified in filename and creates a bitmap object.
Also automatically searches files included in RGSS-RTP and encrypted archives. File extensions may be omitted.
Creates a bitmap object with the specified size.
Frees the bitmap. If the bitmap has already been freed, does nothing.
Returns TRUE if the bitmap has been freed.
Gets the bitmap width.
Gets the bitmap height.
Gets the bitmap rectangle (Rect).
Performs a block transfer from the src_bitmap box src_rect (Rect) to the specified bitmap coordinates (x, y).
opacity can be set from 0 to 255.
Performs a block transfer from the src_bitmap box src_rect (Rect) to the specified bitmap box dest_rect (Rect).
opacity can be set from 0 to 255.
Fills the bitmap box (x, y, width, height) or rect (Rect) with color (Color).
Clears the entire bitmap.
Gets the color (Color) at the specified pixel (x, y).
Sets the specified pixel (x, y) to color (Color).
Changes the bitmap's hue within 360 degrees of displacement.
This process is time-consuming. Furthermore, due to conversion errors, repeated hue changes may result in color loss.
Draws a string str in the bitmap box (x, y, width, height) or rect (Rect).
If the text length exceeds the box's width, the text width will automatically be reduced by up to 60 percent.
Horizontal text is left-aligned by default; set align to 1 to center the text and to 2 to right-align it. Vertical text is always centered.
As this process is time-consuming, redrawing the text with every frame is not recommended.
Gets the box (Rect) used when drawing a string str with the draw_text method. Does not include the angled portions of italicized text.
The font (Font) used to draw a string with the draw_text method.
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |