Enum DashStyle
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Стиль тире Типы штрихов, с помощью которых можно визуализировать линейную геометрию. Эти значения основаны на простом типе "ST_PresetLineDashVal", описанном в разделе 20.1.10.48 книги "Форматы файлов Office Open XML: основы и справочник по языку разметки", часть 1 стандарта ECMA-376, 5-е издание .
Чтобы вызвать перечисление, нужно указать его родительский класс, имя и свойство. Например, SlidesApp.DashStyle.DOT
.
Характеристики
Свойство | Тип | Описание |
---|
UNSUPPORTED | Enum | Стиль тире, который не поддерживается. |
SOLID | Enum | Сплошная линия. Соответствует значению ST_PresetLineDashVal «solid» стандарта ECMA-376. Это стиль штриховки по умолчанию. |
DOT | Enum | Пунктирная линия. Соответствует значению «точка» параметра ST_PresetLineDashVal стандарта ECMA-376. |
DASH | Enum | Пунктирная линия. Соответствует значению «тире» стандарта ECMA-376 ST_PresetLineDashVal. |
DASH_DOT | Enum | Чередование тире и точек. Соответствует значению 'dashDot' стандарта ECMA-376 ST_PresetLineDashVal. |
LONG_DASH | Enum | Линия с крупными штрихами. Соответствует значению 'lgDash' стандарта ECMA-376 ST_PresetLineDashVal. |
LONG_DASH_DOT | Enum | Чередование крупных тире и точек. Соответствует значению 'lgDashDot' стандарта ECMA-376 ST_PresetLineDashVal. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-04 UTC.
[null,null,["Последнее обновление: 2025-08-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eDashStyle\u003c/code\u003e defines the different types of dashes used for rendering lines in presentations, based on the ECMA-376 standard.\u003c/p\u003e\n"],["\u003cp\u003eYou can access these dash styles using the format \u003ccode\u003eSlidesApp.DashStyle.PROPERTY\u003c/code\u003e, replacing \u003ccode\u003ePROPERTY\u003c/code\u003e with the desired style like \u003ccode\u003eDOT\u003c/code\u003e or \u003ccode\u003eDASH\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAvailable dash styles include solid, dotted, dashed, dash-dot, long dash, and long dash-dot, along with a default \u003ccode\u003eSOLID\u003c/code\u003e and an \u003ccode\u003eUNSUPPORTED\u003c/code\u003e style.\u003c/p\u003e\n"],["\u003cp\u003eEach dash style corresponds to a specific ECMA-376 \u003ccode\u003eST_PresetLineDashVal\u003c/code\u003e value for interoperability with other applications.\u003c/p\u003e\n"]]],["`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"],null,["# Enum DashStyle\n\nDashStyle\n\nThe kinds of dashes with which linear geometry can be rendered. These values are based on the\n\"ST_PresetLineDashVal\" simple type described in section 20.1.10.48 of \"Office Open XML File\nFormats - Fundamentals and Markup Language Reference\", part 1 of [ECMA-376 5th\nedition](https://ecma-international.org/publications-and-standards/standards/ecma-376/).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.DashStyle.DOT`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------------|--------|---------------------------------------------------------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A dash style that is not supported. |\n| `SOLID` | `Enum` | Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'. This is the default dash style. |\n| `DOT` | `Enum` | Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'. |\n| `DASH` | `Enum` | Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'. |\n| `DASH_DOT` | `Enum` | Alternating dashes and dots. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dashDot'. |\n| `LONG_DASH` | `Enum` | Line with large dashes. Corresponds to ECMA-376 ST_PresetLineDashVal value 'lgDash'. |\n| `LONG_DASH_DOT` | `Enum` | Alternating large dashes and dots. Corresponds to ECMA-376 ST_PresetLineDashVal value 'lgDashDot'. |"]]