TRVBackgroundSize Type

<< Click to display table of contents >>

TRVBackgroundSize Type

Unit [VCL/FMX]: RVStyle / fmxRVStyle.

type

  TRVBackgroundSize = (

    rvbszAuto, rvbszContain,

    rvbszCover, rvbszValue);

The property specifies the background image size.

Value

Meaning

rvbszAuto

The size is adjusted proportionally to the opposite dimension. If the both dimensions are rvbszAuto, the original image size is used.

rvbszContain

Scales the background image so that the entire image fits within the background rectangle while preserving its aspect ratio

rvbszCover

Scales the background image so that the entire background rectangle is covered while preserving the aspect ratio

rvbszValue

Scales the background image to the specified size

This type is used in:

TRVBackgroundProperties.HorizontalSizeKind

TRVBackgroundProperties.VerticalSizeKind