Пример #1
0
 @Override
 public void add(int index, Layer layer) {
   Asserts.checkArgument(layer instanceof HtmlLayerGL);
   impl.add(this, index, (HtmlLayerGL) layer);
 }
Пример #2
0
 @Override
 public void remove(Layer layer) {
   Asserts.checkArgument(layer instanceof HtmlLayerGL);
   impl.remove(this, (HtmlLayerGL) layer);
 }
Пример #3
0
 @Override
 public float width() {
   Asserts.checkNotNull(surface, "Surface must not be null");
   return surface.width();
 }