OoPort Is a template class that only exists outside of OoView so developers can create their own Port
SubClasses. Additionally developers can extend an instance of OoPort by adding properties and methods after declaration.
A port is an array of draw instructions which are followed to draw a figure. Ports are written in JSON. The exact data structure isn't written yet but I'm imagining it like
Priority: [Unset]
Depends:
Description:
OoPort Is a template class that only exists outside of OoView so developers can create their own Port SubClasses. Additionally developers can extend an instance of OoPort by adding properties and methods after declaration. A port is an array of draw instructions which are followed to draw a figure. Ports are written in JSON. The exact data structure isn't written yet but I'm imagining it like
If a port contains a function named initialize it should be executed prior to drawing the figure.
UML:
Properties:
rayDrawInstructions - public array, array stores a JSON port.
Methods: