fontstyle

package
v2.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 0 Imported by: 15

Documentation

Overview

Package fontstyle contains all default font styles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type string

Type is a representation of a style DefaultFont.

const (
	// Normal represents a normal style.
	Normal Type = ""
	// Bold represents a bold style.
	Bold Type = "B"
	// Italic represents an italic style.
	Italic Type = "I"
	// BoldItalic represents a bold and italic style.
	BoldItalic Type = "BI"
)

func (Type) IsValid

func (s Type) IsValid() bool

IsValid checks if the style is valid.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL