- FlexDirection, FlexWrap, FlexJustify, FlexAlignItems, FlexAlignContent, FlexAlignSelf enums - FlexBasis struct for flex layout - ContextMenuItem class for context menus - ISkiaQueryAttributable interface for shell navigation - SkiaTextSpan class for formatted text These types support FlexLayout, context menus, and text formatting. Other types (event args, enums, etc.) were already defined inline in View files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
575 B
C#
29 lines
575 B
C#
using SkiaSharp;
|
|
|
|
namespace Microsoft.Maui.Platform;
|
|
|
|
public class SkiaTextSpan
|
|
{
|
|
public string Text { get; set; } = "";
|
|
|
|
public SKColor? TextColor { get; set; }
|
|
|
|
public SKColor? BackgroundColor { get; set; }
|
|
|
|
public string? FontFamily { get; set; }
|
|
|
|
public float FontSize { get; set; }
|
|
|
|
public bool IsBold { get; set; }
|
|
|
|
public bool IsItalic { get; set; }
|
|
|
|
public bool IsUnderline { get; set; }
|
|
|
|
public bool IsStrikethrough { get; set; }
|
|
|
|
public float CharacterSpacing { get; set; }
|
|
|
|
public float LineHeight { get; set; } = 1f;
|
|
}
|