resolveGraphicContext method

  1. @override
GraphicContext resolveGraphicContext([
  1. GraphicContext? parentContext
])
override

Implementation

@override
GraphicContext resolveGraphicContext([GraphicContext? parentContext]) {
  var graphicContext = super.resolveGraphicContext(parentContext);
  return graphicContext.copyWith(
    position: graphicContext.position.incrementXY(x, y),
    backgroundColor: backgroundColor,
  );
}