JVCL Help:JvXPCreateGradientRect

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

Search in JVCL Help

 
Search in all projects
 

Summary

Creates a bitmap with a gradient color pattern.

run\JvXPCoreUtils.pas


Pascal

 run\JvXPCoreUtils.pas
 procedureJvXPCreateGradientRect(constAWidth: Integer; constAHeight: Integer; constStartColor: TColor; constEndColor: TColor; constColors: TJvXPGradientColors; constStyle: TJvXPGradientStyle; constDithered: Boolean; varBitmap: TBitmap);


Parameters

Parameters Description
const AWidth: Integer Width of gradient.
const AHeight: Integer Height of gradient.
const StartColor: TColor Start color of gradient.
const EndColor: TColor End color of gradient.
const Colors: TJvXPGradientColors The number of colors in the gradient.
const Style: TJvXPGradientStyle Sets the direction of the gradient.
const Dithered: Boolean Determines if the gradient is dithered or not.
var Bitmap: TBitmap The resulting gradient.

run\JvXPCoreUtils.pas


Description

Call JvXPCreateGradientRect to create a gradient bitmap.

run\JvXPCoreUtils.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