public override void paint(PaintingContext context, Offset offset) { D.assert(this.needsCompositing); context.addLayer(new _InspectorOverlayLayer( Rect.fromLTWH(offset.dx, offset.dy, this.size.width, this.size.height), this.selection )); }
public override void paint(PaintingContext context, Offset offset) { D.assert(this.needsCompositing); context.addLayer(new PerformanceOverlayLayer( overlayRect: Rect.fromLTWH(offset.dx, offset.dy, this.size.width, this.size.height), optionsMask: this.optionsMask )); }
public override void paint(PaintingContext context, Offset offset) { D.assert(needsCompositing); context.addLayer(new PerformanceOverlayLayer( overlayRect: Rect.fromLTWH(offset.dx, offset.dy, size.width, size.height), optionsMask: optionsMask, rasterizerThreshold: rasterizerThreshold, checkerboardRasterCacheImages: checkerboardRasterCacheImages, checkerboardOffscreenLayers: checkerboardOffscreenLayers )); }
public override void paint(PaintingContext context, Offset offset) { if (this._texture == null) { return; } context.addLayer(new TextureLayer( rect: Rect.fromLTWH(offset.dx, offset.dy, this.size.width, this.size.height), texture: this._texture )); }
public override void paint(PaintingContext context, Offset offset) { if (_textureId == null) { return; } context.addLayer(new TextureLayer( rect: Rect.fromLTWH(offset.dx, offset.dy, size.width, size.height), textureId: _textureId.Value )); }