开发者

WPF: 3D cube with rounded corners

开发者 https://www.devze.com 2022-12-18 18:40 出处:网络
is it possible create a cube with rounded corners in WPF? I found many examples that easily create cubes with hard edges but none with rounded ones. One possible solution w开发者_JS百科ould be a pre-r

is it possible create a cube with rounded corners in WPF? I found many examples that easily create cubes with hard edges but none with rounded ones. One possible solution w开发者_JS百科ould be a pre-rendered object, but that's not easy and controls to be put on the sides must be transformed separately.


You'll need to use a 3D modelling package to create the object and then export it to XAML.

There are plenty of free packages out there, or expensive ones with free trials, that should have this functionality.

0

精彩评论

暂无评论...
验证码 换一张
取 消