Class: Component

Component(angleopt, mirrorXopt, mirrorYopt)

Base class for all TikZ components.

Constructor

new Component(angleopt, mirrorXopt, mirrorYopt)

For use in subclasses only.

Parameters:
Name Type Attributes Default Description
angle number <optional>
0

the angle to rotate the component

mirrorX boolean <optional>
false

true to mirror on x axis

mirrorY boolean <optional>
false

true to mirror on y axis

Properties:
Name Type Attributes Description
angle number

the angle to rotate the component

mirrorX boolean

true to mirror on x axis

mirrorY boolean

true to mirror on y axis

values Object <optional>

a list of values to display

Source: