Skip to content

color-box方法

该方法生成一个彩色盒子

参数及其默认值

color

type: color

default: blue

该参数用于设置盒子的边框颜色

dash

type: str | none | auo | array | dictionary

default: "dotted"

该参数用于设置盒子的边框类型

TIP

此设置的可选值参考官方文档 线的类型

radius

type: length

default: 3pt

该参数用于设置盒子的圆角

body

type: str | content

该参数为位置参数,设置盒子内容

Released under the MIT License.