aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml/rectangle/rectangle.qml
blob: 552119b5e5178f7cb4783a8f4c425f0490bf193e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

//! [document]
import QtQuick

Rectangle {
    width: 100
    height: 100
    color: "red"
    border.color: "black"
    border.width: 5
    radius: 10
}
//! [document]