Function Entry: FILLIMAGE

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: FILLIMAGE

Name

`fillimage`

Class

DCL Function

Syntax

(fill_image x1 y1 width height color)

Arguments and Values

  • x1: positive integer; X coordinate of the upper-left corner of the filled rectangle.
  • y1: positive integer; Y coordinate of the upper-left corner.
  • width: integer; width of the fill area in pixels relative to x1.
  • height: integer; height of the fill area in pixels relative to y1.
  • color: integer; an AutoCAD color number, or a logical-color value in [-2, -18].

Description

Draws a filled rectangle in the currently active dialog-box image tile. The image-tile origin (0, 0) is its upper-left corner. Must be called between `startimage and endimage`.

Return Values

The fill color (an integer).

Side Effects

Updates the active image tile.

Examples

(setq color -2)
(fill_image 0 0 (dimx_tile "slide_tile") (dimy_tile "slide_tile") color)
(end_image)

Availability

  • AutoCAD 2026: documented.
  • BricsCAD V26: presumed compatible.
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Source Notes