public float getScale() { ContentViewCore contentView = this.getContentViewCore(); return contentView != null ? contentView.getScale() : 0; }