Class: AsciidoctorDiagramLayout::Renderer::Scheme::BwScheme

Inherits:
Object
  • Object
show all
Includes:
ColorScheme
Defined in:
lib/asciidoctor_diagram_layout/renderer/scheme/bw_scheme.rb

Overview

Black-and-white scheme — solid white fill, black stroke, no visible gradient.

Constant Summary collapse

FILL_COLOR =

:nodoc:

"#ffffff"
STROKE_COLOR =

:nodoc:

"#000000"

Instance Method Summary collapse

Instance Method Details

#fill_color(_name) ⇒ Object

:nodoc:



14
15
16
# File 'lib/asciidoctor_diagram_layout/renderer/scheme/bw_scheme.rb', line 14

def fill_color(_name)
  FILL_COLOR
end

#gradient_end(name) ⇒ Object

:nodoc:



19
20
21
# File 'lib/asciidoctor_diagram_layout/renderer/scheme/bw_scheme.rb', line 19

def gradient_end(name)
  fill_color(name)
end

#stroke_color(_name) ⇒ Object

:nodoc:



24
25
26
# File 'lib/asciidoctor_diagram_layout/renderer/scheme/bw_scheme.rb', line 24

def stroke_color(_name)
  STROKE_COLOR
end