Unit BGRAUnits

Description

Definition of units of measure (distances) used in CSS

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCSSUnitConverter Converter for CSS units
Record TFloatWithCSSUnit Floating-point value expressed in a CSS unit

Functions and Procedures

function FloatWithCSSUnit(AValue: single; AUnit: TCSSUnit): TFloatWithCSSUnit;

Types

ArrayOfTFloatWithCSSUnit = array of TFloatWithCSSUnit;
ArrayOfTSVGNumber = array of TSVGNumber;
TCSSUnit = (...);
TSVGNumber = single;

Constants

CSSUnitShortName: array[TCSSUnit] of string = ('','px', 'cm','mm', 'in','pc','pt', 'em','ex','%');

Description

Functions and Procedures

function FloatWithCSSUnit(AValue: single; AUnit: TCSSUnit): TFloatWithCSSUnit;

This item has no description.

Types

ArrayOfTFloatWithCSSUnit = array of TFloatWithCSSUnit;

This item has no description.

ArrayOfTSVGNumber = array of TSVGNumber;

double

TCSSUnit = (...);

This item has no description.

Values
  • cuCustom
  • cuPixel
  • cuCentimeter
  • cuMillimeter
  • cuInch
  • cuPica
  • cuPoint
  • cuFontEmHeight
  • cuFontXHeight
  • cuPercent
TSVGNumber = single;

This item has no description.

Constants

CSSUnitShortName: array[TCSSUnit] of string = ('','px', 'cm','mm', 'in','pc','pt', 'em','ex','%');

This item has no description.