CSRect QML Type

Display a rectangle. More...

Import Statement: import CSDataQuick.Components 1.0
Inherits:

CSGraphics

Properties

Detailed Description

The rectangle is drawn always within the item boundary.

Row {
    spacing: 5
    CSRect {
        width: 100
        height: 100
    }
    CSRect {
        width: 100
        height: 100
        lineWidth: 5
        fillStyle: FillStyle.Outline
    }
    CSRect {
        width: 150
        height: 30
        radiusX: 10
        radiusY: 10
        fillStyle: FillStyle.Outline
    }
}

Property Documentation

radiusX : real

the x radius of the ellipses defining the corners of the rounded rectangle


radiusY : real

the y radius of the ellipses defining the corners of the rounded rectangle