From WikiChip
Difference between revisions of "mirc/commands/drawfill"
< mirc‎ | commands

m (Bot: Automated text replacement (-<small>Note: Individual switches were not taken into consideration.</small> +))
(Switches)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{mirc title|/drawfill Command}}
 
The '''/drawfill command''' fills an area with the specified color starting at the specified co-ordinates.
 
The '''/drawfill command''' fills an area with the specified color starting at the specified co-ordinates.
  
Line 6: Line 7:
 
== Switches ==
 
== Switches ==
 
* '''-s''' - indicates that the second color parameter is the color that should be filled (surface fill), if -s is not used specified, the second color is the border color at which filling should stop (border fill)
 
* '''-s''' - indicates that the second color parameter is the color that should be filled (surface fill), if -s is not used specified, the second color is the border color at which filling should stop (border fill)
* '''-i''' - draws in inverse mode
+
* '''-i''' - draws in inverse color mode. You can find the final color based on the two color by using $xor($xor(currentcolor,16777215),drawncolor). Drawing the same color gives white and may be used to create transparency effect.
 
* '''-h''' - highlights the windows icon if it is minimized
 
* '''-h''' - highlights the windows icon if it is minimized
 
* '''-n''' - prevents the display from being updated immediately
 
* '''-n''' - prevents the display from being updated immediately
Line 24: Line 25:
 
== Compatibility ==
 
== Compatibility ==
 
Added: 5.3
 
Added: 5.3
 
Added On: 13/12/97
 
 
 
  
 
== See also ==
 
== See also ==
Line 34: Line 31:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|drawfill command - mIRC]]

Latest revision as of 12:00, 29 April 2020

The /drawfill command fills an area with the specified color starting at the specified co-ordinates.

Synopsis[edit]

/drawfill -ihnrs <@win> <color> <color> <x y> [filename] [<x y>...]

Switches[edit]

  • -s - indicates that the second color parameter is the color that should be filled (surface fill), if -s is not used specified, the second color is the border color at which filling should stop (border fill)
  • -i - draws in inverse color mode. You can find the final color based on the two color by using $xor($xor(currentcolor,16777215),drawncolor). Drawing the same color gives white and may be used to create transparency effect.
  • -h - highlights the windows icon if it is minimized
  • -n - prevents the display from being updated immediately
  • -r - indicates that the color is in RGB format

Parameters[edit]

  • <@win> - the window's name
  • <color> - the color used for the fill
  • <color> - the color used to know how to fill (if -s, it fills as long as the color of the pixels around is the same color as the one you provide here, otherwise, it fills as long as the color of pixel is not the color you provide here)
  • <x y> - the coordinate where to fill
  • [filename] - if specified, a bitmap .BMP file that is 8 by 8 pixels in size and is used as a fill pattern
  • [<x y>...] - more coordinates to apply the same fill on

Example[edit]

None

Compatibility[edit]

Added: 5.3

See also[edit]

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy