Ext.define('Ext.rtl.draw.Component', {
    override: 'Ext.draw.Component',
    
    initSurfaceCfg: function(cfg) {
        if (this.getHierarchyState().rtl) {
            cfg.isRtl = true;
        }
    }    
});