Enum DashStyle Stay organized with collections Save and categorize content based on your preferences.
Page Summary
DashStyle defines the types of dashes used to render linear geometry.
These values are based on the "ST_PresetLineDashVal" simple type in the ECMA-376 standard.
Enum properties like
SOLID,DOT, andDASHrepresent different dash styles.You call an enum using its parent class, name, and property, such as
SlidesApp.DashStyle.DOT.
The kinds of dashes with which linear geometry can be rendered. These values are based on the"ST_PresetLineDashVal" simple type described in section 20.1.10.48 of "Office Open XML FileFormats - Fundamentals and Markup Language Reference", part 1 ofECMA-376 5thedition.
To call an enum, you call its parent class, name, and property. For example,SlidesApp.DashStyle.DOT.
Properties
| Property | Type | Description |
|---|---|---|
UNSUPPORTED | Enum | A dash style that is not supported. |
SOLID | Enum | Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'. This is the defaultdash style. |
DOT | Enum | Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'. |
DASH | Enum | Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'. |
DASH_DOT | Enum | Alternating dashes and dots. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dashDot'. |
LONG_DASH | Enum | Line with large dashes. Corresponds to ECMA-376 ST_PresetLineDashVal value 'lgDash'. |
LONG_DASH_DOT | Enum | Alternating large dashes and dots. Corresponds to ECMA-376 ST_PresetLineDashVal value'lgDashDot'. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.