class
UIng::Area::Attribute
- UIng::Area::Attribute
- Reference
- Object
Included Modules
Defined in:
uing/area/area/attribute.cruing/area/area/attribute/type.cr
uing/area/area/attribute/underline.cr
uing/area/area/attribute/underline_color.cr
Constructors
- .new(*args, &)
- .new(*args, **kwargs, &)
- .new(ref_ptr : Pointer(LibUI::Attribute))
- .new_background(r : Float64, g : Float64, b : Float64, a : Float64) : Attribute
- .new_color(r : Float64, g : Float64, b : Float64, a : Float64) : Attribute
- .new_family(family : String) : Attribute
- .new_features(open_type_features : OpenTypeFeatures) : Attribute
- .new_italic(italic : TextItalic) : Attribute
- .new_size(size : Float64) : Attribute
- .new_stretch(stretch : TextStretch) : Attribute
- .new_underline(underline : Underline) : Attribute
- .new_underline_color(underline_color : UnderlineColor, r : Float64, g : Float64, b : Float64, a : Float64) : Attribute
- .new_weight(weight : TextWeight) : Attribute
Instance Method Summary
- #color : Tuple(Float64, Float64, Float64, Float64)
- #family : String | Nil
- #features : OpenTypeFeatures
- #finalize
- #free : Nil
- #italic : TextItalic
- #size : Float64
- #stretch : TextStretch
- #to_unsafe : Pointer(Void)
- #type : AttributeType
- #underline : Underline
- #underline_color : Tuple(UnderlineColor, Float64, Float64, Float64, Float64)
- #weight : TextWeight
Macros inherited from module UIng::BlockConstructor
block_constructor
block_constructor
Constructor Detail
def self.new_underline_color(underline_color : UnderlineColor, r : Float64, g : Float64, b : Float64, a : Float64) : Attribute
#