ae_python.layer.shape_layer
Source code for ae_python.layer.shape_layer
from ae_python.layer.layer import Layer
from ae_python.property import Property
from typing import List
[docs]class ShapeLayer(Layer):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.vertices = []
def addVertex(self, point: List[int]):
self.vertices.append(point)