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. | Extend : Extend.t t
  4. | Font : Font.t t
  5. | Font_family : Font_family.t t
  6. | Font_foundry : Font_foundry.t t
  7. | Foreground : Foreground.t t
  8. | Height : Height.t t
  9. | Inherit : Inherit.t t
  10. | Inverse_video : Inverse_video.t t
  11. | Overline : Overline.t t
  12. | Slant : Slant.t t
  13. | Stipple : Stipple.t t
  14. | Strike_through : Strike_through.t t
  15. | Underline : Underline.t t
  16. | Weight : Weight.t t
  17. | 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)

OCaml

Innovation. Community. Security.