package ecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

(Info-goto-node "(elisp)Face Attributes")

type _ t =
  1. | Background : Background.t t
  2. | Box : Box.t t
  3. | Font : Font.t t
  4. | Font_family : Font_family.t t
  5. | Font_foundry : Font_foundry.t t
  6. | Foreground : Foreground.t t
  7. | Height : Height.t t
  8. | Inherit : Inherit.t t
  9. | Inverse_video : Inverse_video.t t
  10. | Overline : Overline.t t
  11. | Slant : Slant.t t
  12. | Stipple : Stipple.t t
  13. | Strike_through : Strike_through.t t
  14. | Underline : Underline.t t
  15. | Weight : Weight.t t
  16. | Width : Width.t t
val sexp_of_t : ('a__001_ -> Sexplib0.Sexp.t) -> 'a__001_ t -> Sexplib0.Sexp.t
type 'a attribute := 'a t
val to_symbol : _ t -> Symbol.t
val of_value_exn : 'a t -> Ecaml_value.Value.t -> 'a
val to_value : 'a t -> 'a -> Ecaml_value.Value.t
val unspecified_value : 'a t -> 'a
module Packed : sig ... end
val is_relative : 'a t -> 'a -> bool

A relative value is one that doesn’t entirely override whatever is inherited from another face. For most attributes, the only relative value is Unspecified. Height.Scale_underlying_face values are also relative. (describe-function 'face-attribute-relative-p).

val merge : 'a t -> 'a -> 'a -> 'a

(describe-function 'merge-face-attribute)