class

ContributorMural::SilhouetteConfig

Inherits YAML::Serializable::Strict < YAML::Serializable < Reference < Object

Constructors

new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

gap=(gap : Int32)
Source
ghosts=(ghosts : Bool)
Source
ghosts?
Source
image

A PNG, JPEG, GIF, WebP, or SVG in the repository, relative to its root.

Source
image=(image : String | Nil)

A PNG, JPEG, GIF, WebP, or SVG in the repository, relative to its root.

Source
ink=(ink : Ink)
Source
pixel_size
Source
pixel_size=(pixel_size : Int32)
Source
resolution

Cells along the image's longer side; the shorter side follows its aspect.

Source
resolution=(resolution : Int32)

Cells along the image's longer side; the shorter side follows its aspect.

Source
shape
Source
shape=(shape : Shape)
Source
threshold

How much of a cell has to be ink for the cell to be part of the shape.

Source
threshold=(threshold : Float64)

How much of a cell has to be ink for the cell to be part of the shape.

Source
validate(in_use : Bool) : Array(String)

image has no default that could mean anything, so it is only required when something is going to draw with it — the block is otherwise inert, like every other style's.

Source