JVCL Help:ReleasePattern

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Frees a specific pattern if it is not in use anymore.

run\JvCustomItemViewer.pas


Pascal

 run\JvCustomItemViewer.pas
 procedureReleasePattern(EvenColor: TColor; OddColor: TColor);


Parameters

Parameters Description
EvenColor: TColor The color used on even pixels in the bitmap.
OddColor: TColor The color used on odd pixels in the bitmap.

run\JvCustomItemViewer.pas


Description

ReleasePattern decrements the internal reference count for the specified pattern and releases the associated TBitmap object if the reference count is 0.
The pattern to release must have been created by a call to CreateBrushPattern for ReleasePattern to find it.

run\JvCustomItemViewer.pas


See Also

ClearBrushPatterns, CreateBrushPattern

run\JvCustomItemViewer.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page