JCL Help:TJclRegion.CreateRoundRect@Integer@Integer@Integer@Integer@Integer@Integer

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Create a rounded rectangle region


Pascal

 public constructor CreateRoundRect(const ARect: TRect; CornerWidth: Integer; CornerHeight: Integer); overload;
public constructor CreateRoundRect(const Top: Integer; const Left: Integer; const Bottom: Integer; const Right: Integer; const CornerWidth: Integer; const CornerHeight: Integer); overload;


Parameters

Parameters Description
const ARect: TRect The rectangle describing the region.
CornerWidth: Integer X-size of the quarter ellipse for the rounded corners.
CornerHeight: Integer Y-size of the quarter ellipse for the rounded corners.
const Top: Integer X-coordinate of the upper left point.
const Left: Integer Y-coordinate of the upper left point.
const Bottom: Integer X-coordinate of the bottom right point.
const Right: Integer Y-coordinate of the bottom right point.


Description

Creates a rounded rectangle region defined by a rectangle or Top, Left, Bottom, Right.


About

Donator

Wim De Cleen


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