Module Values_0.FontConfigurationSource

Configures the display properties of the given text.

Sourcetype nonrec t = {
  1. fontSize : FontSize.t option;
    (*

    The option that determines the text display size.

    *)
  2. fontDecoration : FontDecoration.t option;
    (*

    Determines the appearance of decorative lines on the text.

    *)
  3. fontColor : HexColor.t option;
    (*

    Determines the color of the text.

    *)
  4. fontWeight : FontWeight.t option;
    (*

    The option that determines the text display weight, or boldness.

    *)
  5. fontStyle : FontStyle.t option;
    (*

    Determines the text display face that is inherited by the given font family.

    *)
  6. fontFamily : LimitedString.t option;
    (*

    The font family that you want to use.

    *)
}
Sourceval make : ?fontSize:FontSize.t -> ?fontDecoration:FontDecoration.t -> ?fontColor:HexColor.t -> ?fontWeight:FontWeight.t -> ?fontStyle:FontStyle.t -> ?fontFamily:LimitedString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of HexColor.t | `Structure of (string * [> `Enum of string | `String of PixelLength.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t