Stroke

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

Stroke

class Stroke

A typed Typst stroke dictionary.

Methods

Name Description
__new__
__repr__

__new__

Stroke.__new__(
    *,
    paint: _OptionalPaint = ...,
    thickness: _OptionalLengthValue = ...,
    cap: _OptionalStrokeCap = ...,
    join: _OptionalStrokeJoin = ...,
    dash: _OptionalDashValue = ...,
    miter_limit: _Number = ...,
) -> Stroke

__repr__

Stroke.__repr__() -> builtins.str