aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml/rectangle/rectangle.qml
blob: 14baa83bfcd67fa2f2768fc2835e7585dbb544fb (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 2.0

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