slint/tests/cases/elements/path.slint
2023-07-10 10:12:11 +02:00

12 lines
304 B
Text

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
TestCase := Path {
property<float> my_x: 100;
property<float> my_y: 200;
LineTo {
x: root.my_x;
y: root.my_y;
}
}