D2ModuleTypeSpec

Style specs from https://d2lang.com/tour/style, applied to the shape matching this module type.

You can use any of the below properties, plus those in D2PropertiesSpec shared between links and modules.

Properties

Link copied to clipboard
abstract var doubleBorder: String?

Only applicable to Shape.Rectangle and Shape.Oval

Link copied to clipboard
abstract var fill: String?
Link copied to clipboard
abstract var fillPattern: FillPattern?
Link copied to clipboard
abstract var multiple: Boolean?
Link copied to clipboard
abstract var render3D: Boolean?

Only applicable to Shape.Rectangle and Shape.Square

Link copied to clipboard
abstract var shadow: Boolean?
Link copied to clipboard
abstract var shape: Shape?