Class TFillRoundRectangleInfo

Unit

Declaration

type TFillRoundRectangleInfo = class(TFillShapeInfo)

Description

Fill information for a round rectangle

Hierarchy

Overview

Fields

Public WindingFactor: integer;

Methods

Public constructor Create(x1, y1, x2, y2, rx, ry: single; options: TRoundRectangleOptions; APixelCenteredCoordinates: boolean = true);
Public function GetBounds: TRect; override;
Public function SegmentsCurved: boolean; override;
Protected function NbMaxIntersection: integer; override;
Protected procedure ComputeIntersection(cury: single; var inter: ArrayOfTIntersectionInfo; var nbInter: integer); override;

Properties

Public property BottomRight: TPointF read GetBottomRight;
Public property RadiusX: single read FRX;
Public property RadiusY: single read FRY;
Public property TopLeft: TPointF read GetTopLeft;

Description

Fields

Public WindingFactor: integer;

This item has no description.

Methods

Public constructor Create(x1, y1, x2, y2, rx, ry: single; options: TRoundRectangleOptions; APixelCenteredCoordinates: boolean = true);

This item has no description.

Public function GetBounds: TRect; override;

This item has no description. Showing description inherited from TFillShapeInfo.GetBounds.

returns integer bounds

Public function SegmentsCurved: boolean; override;

This item has no description. Showing description inherited from TFillShapeInfo.SegmentsCurved.

returns true if the same segment number can be curved

Protected function NbMaxIntersection: integer; override;

This item has no description. Showing description inherited from TFillShapeInfo.NbMaxIntersection.

returns maximum of intersection per line

Protected procedure ComputeIntersection(cury: single; var inter: ArrayOfTIntersectionInfo; var nbInter: integer); override;

This item has no description. Showing description inherited from TFillShapeInfo.ComputeIntersection.

compute intersections. the array must be big enough

Properties

Public property BottomRight: TPointF read GetBottomRight;

This item has no description.

Public property RadiusX: single read FRX;

This item has no description.

Public property RadiusY: single read FRY;

This item has no description.

Public property TopLeft: TPointF read GetTopLeft;

This item has no description.