IPB

> FloodFill (procedure) (Graph unit)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 FloodFill (procedure)     (Graph unit)


Fills a bounded region with the current fill pattern and color.

Declaration

 procedure FloodFill(X, Y: Integer; Border: Word);

Target

Real, Protected

Remarks

Fills an enclosed area on bitmap devices. (X, Y) is a seed within the enclosed area to be filled. The current fill pattern, as set by SetFillStyle or SetFillPattern, is used to flood the area bounded by Border color. If the seed point is within an enclosed area, then the inside will be filled. If the seed is outside the enclosed area, then the exterior will be filled.

If an error occurs while flooding a region, GraphResult returns a value of grNoFloodMem

See Also

Sample Code

 
 К началу страницы 
Тэги: FloodFill
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"