Constructor Summary
Public Constructor | ||
public |
constructor(color: string, borderWidth: number) Creates Border. |
Member Summary
Public Members | ||
public |
borderWidth: * |
Inherited Summary
From class Division | ||
public |
color: * |
|
public |
count: * |
|
public |
limit: * |
|
public |
seed: * |
|
public |
|
Public Constructors
public constructor(color: string, borderWidth: number) source
Creates Border.
Override:
Division#constructorExample:
// Instantiates a Border
const border = new Border(20);
TODO:
- Handle border width more elegantly than taking a flat value from the caller.