mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
Add method to draw a placeholder
This commit is contained in:
parent
b92d3f36a8
commit
fc56c4e2ef
@ -287,6 +287,16 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
|
||||
this.context.clip();
|
||||
},
|
||||
|
||||
// private
|
||||
drawPlaceholder: function(rect) {
|
||||
if (!this.useCanvas) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.context.fillRect(rect.x, rect.y, rect.width, rect.height);
|
||||
this.context.fillStyle = "#000000";
|
||||
},
|
||||
|
||||
// private
|
||||
drawDebugInfo: function( tile, count, i ){
|
||||
if ( this.useCanvas ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user