PCanvasElement2DBase constructor
PCanvasElement2DBase({
- PCanvasElementContainer<
PCanvasElement> ? parent, - int? zIndex,
- Position? pos,
- PDimension? dimension,
- String? id,
Implementation
PCanvasElement2DBase({
super.parent,
this.zIndex,
Position? pos,
PDimension? dimension,
super.id,
}) : super() {
position = _resolvePosition(pos);
this.dimension = _resolveDimension(dimension);
}