Skip to content

角丸の動的調整機能を追加#295

Merged
Freeesia merged 1 commit intomasterfrom
feature/corner
Mar 15, 2025
Merged

角丸の動的調整機能を追加#295
Freeesia merged 1 commit intomasterfrom
feature/corner

Conversation

@Freeesia
Copy link
Owner

角丸の動的調整機能を追加

Generic.xaml に新しい SizeToCornerRadiusConverter を追加し、要素のサイズに基づいて角丸の半径を動的に計算できるようにしました。この変更により、TextRect のサイズに応じた角丸の調整が可能になります。また、関連するクラス SizeToCornerRadiusConverter を実装し、計算に必要なプロパティを定義しました。

Fix #288

`Generic.xaml` に新しい `SizeToCornerRadiusConverter` を追加し、要素のサイズに基づいて角丸の半径を動的に計算できるようにしました。この変更により、`TextRect` のサイズに応じた角丸の調整が可能になります。また、関連するクラス `SizeToCornerRadiusConverter` を実装し、計算に必要なプロパティを定義しました。

Fix #288
@Freeesia Freeesia merged commit 9477786 into master Mar 15, 2025
7 checks passed
@Freeesia Freeesia deleted the feature/corner branch March 15, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

翻訳後テキスト描画矩形のコーナーを矩形サイズと連動したい

1 participant