---
title: "XmlSpanStyles | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/XmlSpanStyles-1/"
---

# XmlSpanStyles

> [`XmlSpanStyles`](#xmlspanstyles)

## Classes

### XmlSpanStyles

#### Constructors

##### Constructor

```ts
new XmlSpanStyles(): XmlSpanStyles;
```

###### Returns

#### Properties

##### allCaps

```ts
static allCaps: string = "all-caps";
```

##### baselineShift

```ts
static baselineShift: string = "baseline-shift";
```

##### bold

```ts
static bold: string = "bold";
```

##### color

```ts
static color: string = "color";
```

##### digitType

```ts
static digitType: string = "digit-type";
```

##### fontFamily

```ts
static fontFamily: string = "font-family";
```

##### fontName

```ts
static fontName: string = "font-name";
```

##### fontSize

```ts
static fontSize: string = "font-size";
```

##### fontStyle

```ts
static fontStyle: string = "font-style";
```

##### inkColor

```ts
static inkColor: string = "ink-color";
```

##### inkName

```ts
static inkName: string = "ink-name";
```

##### inkSolidity

```ts
static inkSolidity: string = "ink-solidity";
```

##### italic

```ts
static italic: string = "italic";
```

##### leading

```ts
static leading: string = "leading";
```

##### openType

```ts
static openType: string = "ot";
```

##### penColor

```ts
static penColor: string = "pen-color";
```

##### penInkColor

```ts
static penInkColor: string = "pen-ink-color";
```

##### penInkName

```ts
static penInkName: string = "pen-ink-name";
```

##### penInkSolidity

```ts
static penInkSolidity: string = "pen-ink-solidity";
```

##### penWidth

```ts
static penWidth: string = "pen-width";
```

##### smallCaps

```ts
static smallCaps: string = "small-caps";
```

##### sub

```ts
static sub: string = "sub";
```

##### subPosition

```ts
static subPosition: string = "sub-position";
```

##### subSize

```ts
static subSize: string = "sub-size";
```

##### sup

```ts
static sup: string = "sup";
```

##### supPosition

```ts
static supPosition: string = "sup-position";
```

##### supSize

```ts
static supSize: string = "sup-size";
```

##### tracking

```ts
static tracking: string = "tracking";
```

##### underline

```ts
static underline: string = "underline";
```

##### wordSpacingScale

```ts
static wordSpacingScale: string = "word-spacing-scale";
```
