Option Strict On
Option Explicit On

Imports SkiaSharp

Namespace Nexamas.UI.TextInput

    Friend NotInheritable Class MASTextSyntaxStyle

        Public Property Foreground As SKColor?
        Public Property Bold As Boolean
        Public Property Italic As Boolean
        Public Property FontFamily As String

        Public Shared Function FromColor(color As SKColor) As MASTextSyntaxStyle
            Return New MASTextSyntaxStyle With {.Foreground = color}
        End Function

        Public Function Clone() As MASTextSyntaxStyle
            Return New MASTextSyntaxStyle With {
                .Foreground = Me.Foreground,
                .Bold = Me.Bold,
                .Italic = Me.Italic,
                .FontFamily = Me.FontFamily
            }
        End Function

    End Class

End Namespace
