Enum DashStyle
DashStyle
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 File
Formats - Fundamentals and Markup Language Reference", part 1 of ECMA-376 4th
edition.
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 default
dash 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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`DashStyle` defines the different types of dashes used for rendering lines in presentations, based on the ECMA-376 standard."],["You can access these dash styles using the format `SlidesApp.DashStyle.PROPERTY`, replacing `PROPERTY` with the desired style like `DOT` or `DASH`."],["Available dash styles include solid, dotted, dashed, dash-dot, long dash, and long dash-dot, along with a default `SOLID` and an `UNSUPPORTED` style."],["Each dash style corresponds to a specific ECMA-376 `ST_PresetLineDashVal` value for interoperability with other applications."]]],["`DashStyle` defines the types of dashes for rendering linear geometry, based on the ECMA-376 standard. It provides properties to represent different line styles, including `UNSUPPORTED`, `SOLID` (default), `DOT`, `DASH`, `DASH_DOT`, `LONG_DASH`, and `LONG_DASH_DOT`. Each property corresponds to a specific `ST_PresetLineDashVal` value. To use an enum, refer to its parent class, name, and property (e.g., `SlidesApp.DashStyle.DOT`).\n"]]