Skip to content

Commit

Permalink
[NUI] Add markup extension methods for view properties
Browse files Browse the repository at this point in the history
Add C# MarkUp Extension methods for View Properties.

e.g)
View myView = new ().Size(10f, 10f)
		    .Position(10f, 10f)
		    .Layout(new LienarLayout)
		    .Padding(5f, 5f, 5f, 5f)
		    .BackgroundColor(1f, 1f, 1f, 1f)

Added Properties

- Color
- ImageShadow
- Borderline
- Opacity
- Scale
- Visibility
- Sensitive
- IsEnabled
- ClippingMode
- Layout
- Focusable
- FocusableChildren
- FocusableInTouch
- VoiceInteractionName
- OffScreenRendering

and few getters for UI struct types.
- Color
- BorderlineColor
  • Loading branch information
everLEEst committed Jan 23, 2025
1 parent a5e9501 commit 77ee0d9
Showing 1 changed file with 413 additions and 25 deletions.
Loading

0 comments on commit 77ee0d9

Please sign in to comment.