Edit in GitHubLog an issue

@add-on-hlapi-sdk / StrokeOptions

Interface: StrokeOptions

Properties that can be provided to create a stroke.

Hierarchy

  • StrokeOptions

    Stroke

Table of contents

Properties

Properties

color

Readonly color: Color

The color of a stroke.


dashOffset

Readonly dashOffset: number

Number of pixels the beginning of dash pattern should be offset along the stroke.


dashPattern

Readonly dashPattern: number[]

If empty, this is a solid stroke. If non-empty, the values alternate between length of a rendered and blank segment, repeated along the length of the stroke. The first value represents the first solid segment.


width

Readonly width: number

The thickness of a stroke. Must be from MIN_STROKE_WIDTH to MAX_STROKE_WIDTH.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.