prepare method

  1. @override
void prepare()
override

Prepare the object to be written to the stream

Implementation

@override
void prepare() {
  super.prepare();

  params['/Shading'] = shading.ref();

  if (graphicState != null) {
    params['/ExtGState'] = graphicState!.output();
  }
}