Enum DashStyle

  • 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 likeSOLID,DOT, andDASH represent different dash styles.

  • You call an enum using its parent class, name, and property, such asSlidesApp.DashStyle.DOT.

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 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

PropertyTypeDescription
UNSUPPORTEDEnumA dash style that is not supported.
SOLIDEnumSolid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'. This is the defaultdash style.
DOTEnumDotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'.
DASHEnumDashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'.
DASH_DOTEnumAlternating dashes and dots. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dashDot'.
LONG_DASHEnumLine with large dashes. Corresponds to ECMA-376 ST_PresetLineDashVal value 'lgDash'.
LONG_DASH_DOTEnumAlternating 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.