Added functionality to rectangle
Added functionality to rectangle

Calculating aspect ratio, calculating center point, centering the
rectangle to a point, fitting a rectangle in/outside another rectangle
while maintaining aspect ratio.

Arcnor/libgdx,Deftwun/libgdx,junkdog/libgdx,Senth/libgdx,Badazdz/libgdx,MetSystem/libgdx,flaiker/libgdx,alex-dorokhov/libgdx,alireza-hosseini/libgdx,ThiagoGarciaAlves/libgdx,UnluckyNinja/libgdx,nudelchef/libgdx,EsikAntony/libgdx,andyvand/libgdx,stinsonga/libgdx,BlueRiverInteractive/libgdx,xranby/libgdx,ryoenji/libgdx,TheAks999/libgdx,Deftwun/libgdx,sjosegarcia/libgdx,Deftwun/libgdx,1yvT0s/libgdx,Senth/libgdx,kagehak/libgdx,NathanSweet/libgdx,toloudis/libgdx,djom20/libgdx,ryoenji/libgdx,saltares/libgdx,libgdx/libgdx,bgroenks96/libgdx,youprofit/libgdx,collinsmith/libgdx,Senth/libgdx,revo09/libgdx,djom20/libgdx,noelsison2/libgdx,JDReutt/libgdx,jberberick/libgdx,srwonka/libGdx,Zomby2D/libgdx,JFixby/libgdx,bsmr-java/libgdx,Wisienkas/libgdx,fiesensee/libgdx,antag99/libgdx,alireza-hosseini/libgdx,designcrumble/libgdx,anserran/libgdx,kotcrab/libgdx,MetSystem/libgdx,snovak/libgdx,realitix/libgdx,del-sol/libgdx,fiesensee/libgdx,fwolff/libgdx,haedri/libgdx-1,shiweihappy/libgdx,Thotep/libgdx,haedri/libgdx-1,anserran/libgdx,revo09/libgdx,andyvand/libgdx,sjosegarcia/libgdx,junkdog/libgdx,toloudis/libgdx,nave966/libgdx,lordjone/libgdx,anserran/libgdx,ztv/libgdx,designcrumble/libgdx,copystudy/libgdx,nrallakis/libgdx,1yvT0s/libgdx,nave966/libgdx,alex-dorokhov/libgdx,hyvas/libgdx,nrallakis/libgdx,flaiker/libgdx,tommyettinger/libgdx,309746069/libgdx,sjosegarcia/libgdx,xpenatan/libgdx-LWJGL3,katiepino/libgdx,curtiszimmerman/libgdx,ninoalma/libgdx,alex-dorokhov/libgdx,revo09/libgdx,MovingBlocks/libgdx,alireza-hosseini/libgdx,codepoke/libgdx,srwonka/libGdx,fiesensee/libgdx,fiesensee/libgdx,snovak/libgdx,nave966/libgdx,FredGithub/libgdx,billgame/libgdx,gouessej/libgdx,xoppa/libgdx,Zonglin-Li6565/libgdx,EsikAntony/libgdx,MadcowD/libgdx,sarkanyi/libgdx,hyvas/libgdx,del-sol/libgdx,MovingBlocks/libgdx,ztv/libgdx,309746069/libgdx,thepullman/libgdx,antag99/libgdx,djom20/libgdx,josephknight/libgdx,ya7lelkom/libgdx,cypherdare/libgdx,Wisienkas/libgdx,zommuter/libgdx,billgame/libgdx,curtiszimmerman/libgdx,saltares/libgdx,js78/libgdx,luischavez/libgdx,309746069/libgdx,Senth/libgdx,realitix/libgdx,JDReutt/libgdx,NathanSweet/libgdx,gf11speed/libgdx,flaiker/libgdx,Thotep/libgdx,realitix/libgdx,katiepino/libgdx,cypherdare/libgdx,nave966/libgdx,nrallakis/libgdx,nooone/libgdx,zhimaijoy/libgdx,curtiszimmerman/libgdx,samskivert/libgdx,sarkanyi/libgdx,xranby/libgdx,SidneyXu/libgdx,xoppa/libgdx,bsmr-java/libgdx,EsikAntony/libgdx,codepoke/libgdx,UnluckyNinja/libgdx,firefly2442/libgdx,azakhary/libgdx,GreenLightning/libgdx,hyvas/libgdx,tommycli/libgdx,Thotep/libgdx,PedroRomanoBarbosa/libgdx,jasonwee/libgdx,ztv/libgdx,firefly2442/libgdx,djom20/libgdx,luischavez/libgdx,Deftwun/libgdx,petugez/libgdx,del-sol/libgdx,Arcnor/libgdx,ttencate/libgdx,thepullman/libgdx,del-sol/libgdx,MovingBlocks/libgdx,FyiurAmron/libgdx,JFixby/libgdx,gouessej/libgdx,bgroenks96/libgdx,yangweigbh/libgdx,Gliby/libgdx,luischavez/libgdx,saqsun/libgdx,xranby/libgdx,titovmaxim/libgdx,lordjone/libgdx,nudelchef/libgdx,ThiagoGarciaAlves/libgdx,gdos/libgdx,gf11speed/libgdx,Zomby2D/libgdx,czyzby/libgdx,toa5/libgdx,nooone/libgdx,junkdog/libgdx,firefly2442/libgdx,davebaol/libgdx,alex-dorokhov/libgdx,kagehak/libgdx,309746069/libgdx,Zomby2D/libgdx,nudelchef/libgdx,Arcnor/libgdx,ninoalma/libgdx,noelsison2/libgdx,PedroRomanoBarbosa/libgdx,ttencate/libgdx,stinsonga/libgdx,tommycli/libgdx,js78/libgdx,zommuter/libgdx,zommuter/libgdx,nelsonsilva/libgdx,alireza-hosseini/libgdx,gouessej/libgdx,gdos/libgdx,tell10glu/libgdx,petugez/libgdx,Zonglin-Li6565/libgdx,luischavez/libgdx,Zonglin-Li6565/libgdx,del-sol/libgdx,kagehak/libgdx,saltares/libgdx,collinsmith/libgdx,josephknight/libgdx,davebaol/libgdx,xoppa/libgdx,snovak/libgdx,gdos/libgdx,MetSystem/libgdx,sjosegarcia/libgdx,collinsmith/libgdx,Xhanim/libgdx,czyzby/libgdx,bsmr-java/libgdx,petugez/libgdx,tell10glu/libgdx,noelsison2/libgdx,UnluckyNinja/libgdx,toloudis/libgdx,zhimaijoy/libgdx,Xhanim/libgdx,MadcowD/libgdx,andyvand/libgdx,realitix/libgdx,realitix/libgdx,Dzamir/libgdx,xpenatan/libgdx-LWJGL3,saqsun/libgdx,sarkanyi/libgdx,jasonwee/libgdx,lordjone/libgdx,bladecoder/libgdx,basherone/libgdxcn,alex-dorokhov/libgdx,ninoalma/libgdx,jsjolund/libgdx,junkdog/libgdx,ttencate/libgdx,ninoalma/libgdx,gdos/libgdx,Arcnor/libgdx,toa5/libgdx,toloudis/libgdx,snovak/libgdx,ninoalma/libgdx,kzganesan/libgdx,gdos/libgdx,PedroRomanoBarbosa/libgdx,MetSystem/libgdx,thepullman/libgdx,andyvand/libgdx,firefly2442/libgdx,Deftwun/libgdx,JFixby/libgdx,designcrumble/libgdx,azakhary/libgdx,MadcowD/libgdx,fiesensee/libgdx,mumer92/libgdx,JDReutt/libgdx,jasonwee/libgdx,xpenatan/libgdx-LWJGL3,bladecoder/libgdx,andyvand/libgdx,ya7lelkom/libgdx,cypherdare/libgdx,nrallakis/libgdx,MetSystem/libgdx,309746069/libgdx,ztv/libgdx,djom20/libgdx,curtiszimmerman/libgdx,antag99/libgdx,fwolff/libgdx,BlueRiverInteractive/libgdx,FyiurAmron/libgdx,Zomby2D/libgdx,andyvand/libgdx,FyiurAmron/libgdx,ricardorigodon/libgdx,bladecoder/libgdx,JFixby/libgdx,Badazdz/libgdx,lordjone/libgdx,xpenatan/libgdx-LWJGL3,js78/libgdx,hyvas/libgdx,noelsison2/libgdx,firefly2442/libgdx,snovak/libgdx,TheAks999/libgdx,sinistersnare/libgdx,junkdog/libgdx,kotcrab/libgdx,SidneyXu/libgdx,MovingBlocks/libgdx,ryoenji/libgdx,Zomby2D/libgdx,lordjone/libgdx,realitix/libgdx,bgroenks96/libgdx,petugez/libgdx,ya7lelkom/libgdx,yangweigbh/libgdx,luischavez/libgdx,bladecoder/libgdx,mumer92/libgdx,srwonka/libGdx,ThiagoGarciaAlves/libgdx,ttencate/libgdx,samskivert/libgdx,Heart2009/libgdx,sinistersnare/libgdx,flaiker/libgdx,shiweihappy/libgdx,tell10glu/libgdx,andyvand/libgdx,zommuter/libgdx,anserran/libgdx,zommuter/libgdx,EsikAntony/libgdx,zommuter/libgdx,firefly2442/libgdx,MikkelTAndersen/libgdx,EsikAntony/libgdx,saqsun/libgdx,jasonwee/libgdx,stickyd/libgdx,Badazdz/libgdx,anserran/libgdx,anserran/libgdx,saltares/libgdx,yangweigbh/libgdx,BlueRiverInteractive/libgdx,Zonglin-Li6565/libgdx,alex-dorokhov/libgdx,ThiagoGarciaAlves/libgdx,bsmr-java/libgdx,jberberick/libgdx,codepoke/libgdx,bgroenks96/libgdx,JFixby/libgdx,youprofit/libgdx,Heart2009/libgdx,MikkelTAndersen/libgdx,Badazdz/libgdx,xranby/libgdx,curtiszimmerman/libgdx,jberberick/libgdx,tommyettinger/libgdx,petugez/libgdx,jsjolund/libgdx,billgame/libgdx,gouessej/libgdx,kotcrab/libgdx,ThiagoGarciaAlves/libgdx,fwolff/libgdx,EsikAntony/libgdx,kagehak/libgdx,bsmr-java/libgdx,jberberick/libgdx,hyvas/libgdx,gouessej/libgdx,jberberick/libgdx,samskivert/libgdx,andyvand/libgdx,djom20/libgdx,tell10glu/libgdx,samskivert/libgdx,tommycli/libgdx,sinistersnare/libgdx,NathanSweet/libgdx,nrallakis/libgdx,Wisienkas/libgdx,shiweihappy/libgdx,czyzby/libgdx,nudelchef/libgdx,MetSystem/libgdx,sarkanyi/libgdx,gf11speed/libgdx,davebaol/libgdx,TheAks999/libgdx,ricardorigodon/libgdx,designcrumble/libgdx,toloudis/libgdx,luischavez/libgdx,NathanSweet/libgdx,stickyd/libgdx,gf11speed/libgdx,Dzamir/libgdx,1yvT0s/libgdx,kagehak/libgdx,samskivert/libgdx,gouessej/libgdx,sjosegarcia/libgdx,MadcowD/libgdx,js78/libgdx,tommyettinger/libgdx,libgdx/libgdx,xoppa/libgdx,libgdx/libgdx,toloudis/libgdx,ricardorigodon/libgdx,josephknight/libgdx,bgroenks96/libgdx,basherone/libgdxcn,ricardorigodon/libgdx,Gliby/libgdx,luischavez/libgdx,Gliby/libgdx,Thotep/libgdx,TheAks999/libgdx,UnluckyNinja/libgdx,nooone/libgdx,ninoalma/libgdx,codepoke/libgdx,ztv/libgdx,ya7lelkom/libgdx,kzganesan/libgdx,katiepino/libgdx,toloudis/libgdx,kotcrab/libgdx,GreenLightning/libgdx,shiweihappy/libgdx,JFixby/libgdx,tell10glu/libgdx,sjosegarcia/libgdx,yangweigbh/libgdx,hyvas/libgdx,ya7lelkom/libgdx,nave966/libgdx,Arcnor/libgdx,hyvas/libgdx,Xhanim/libgdx,toa5/libgdx,azakhary/libgdx,nelsonsilva/libgdx,FredGithub/libgdx,FredGithub/libgdx,realitix/libgdx,TheAks999/libgdx,Xhanim/libgdx,jsjolund/libgdx,ninoalma/libgdx,Heart2009/libgdx,Heart2009/libgdx,PedroRomanoBarbosa/libgdx,Wisienkas/libgdx,Wisienkas/libgdx,MadcowD/libgdx,UnluckyNinja/libgdx,sarkanyi/libgdx,Dzamir/libgdx,copystudy/libgdx,yangweigbh/libgdx,zhimaijoy/libgdx,jasonwee/libgdx,saqsun/libgdx,JDReutt/libgdx,josephknight/libgdx,mumer92/libgdx,haedri/libgdx-1,kzganesan/libgdx,Senth/libgdx,flaiker/libgdx,firefly2442/libgdx,Deftwun/libgdx,PedroRomanoBarbosa/libgdx,lordjone/libgdx,mumer92/libgdx,toa5/libgdx,js78/libgdx,SidneyXu/libgdx,copystudy/libgdx,Xhanim/libgdx,Thotep/libgdx,saltares/libgdx,nudelchef/libgdx,BlueRiverInteractive/libgdx,curtiszimmerman/libgdx,kzganesan/libgdx,saqsun/libgdx,ya7lelkom/libgdx,gouessej/libgdx,GreenLightning/libgdx,revo09/libgdx,UnluckyNinja/libgdx,nooone/libgdx,MetSystem/libgdx,collinsmith/libgdx,1yvT0s/libgdx,ryoenji/libgdx,tommycli/libgdx,MovingBlocks/libgdx,copystudy/libgdx,gf11speed/libgdx,haedri/libgdx-1,josephknight/libgdx,djom20/libgdx,alex-dorokhov/libgdx,jsjolund/libgdx,nudelchef/libgdx,stinsonga/libgdx,kzganesan/libgdx,tommyettinger/libgdx,MovingBlocks/libgdx,FyiurAmron/libgdx,mumer92/libgdx,tell10glu/libgdx,MadcowD/libgdx,firefly2442/libgdx,ricardorigodon/libgdx,collinsmith/libgdx,snovak/libgdx,mumer92/libgdx,Gliby/libgdx,shiweihappy/libgdx,BlueRiverInteractive/libgdx,tell10glu/libgdx,sinistersnare/libgdx,youprofit/libgdx,alireza-hosseini/libgdx,1yvT0s/libgdx,309746069/libgdx,kagehak/libgdx,del-sol/libgdx,JFixby/libgdx,josephknight/libgdx,PedroRomanoBarbosa/libgdx,yangweigbh/libgdx,Xhanim/libgdx,MikkelTAndersen/libgdx,Gliby/libgdx,collinsmith/libgdx,KrisLee/libgdx,gdos/libgdx,ryoenji/libgdx,titovmaxim/libgdx,copystudy/libgdx,codepoke/libgdx,toa5/libgdx,Gliby/libgdx,billgame/libgdx,ya7lelkom/libgdx,youprofit/libgdx,UnluckyNinja/libgdx,davebaol/libgdx,thepullman/libgdx,ricardorigodon/libgdx,Gliby/libgdx,xpenatan/libgdx-LWJGL3,thepullman/libgdx,FyiurAmron/libgdx,nooone/libgdx,Wisienkas/libgdx,junkdog/libgdx,SidneyXu/libgdx,sarkanyi/libgdx,EsikAntony/libgdx,shiweihappy/libgdx,srwonka/libGdx,stickyd/libgdx,stickyd/libgdx,bgroenks96/libgdx,azakhary/libgdx,MikkelTAndersen/libgdx,Zonglin-Li6565/libgdx,nooone/libgdx,stickyd/libgdx,luischavez/libgdx,Heart2009/libgdx,SidneyXu/libgdx,designcrumble/libgdx,czyzby/libgdx,zommuter/libgdx,davebaol/libgdx,FyiurAmron/libgdx,revo09/libgdx,titovmaxim/libgdx,copystudy/libgdx,js78/libgdx,Xhanim/libgdx,czyzby/libgdx,kagehak/libgdx,BlueRiverInteractive/libgdx,kzganesan/libgdx,noelsison2/libgdx,alireza-hosseini/libgdx,alireza-hosseini/libgdx,petugez/libgdx,nrallakis/libgdx,bsmr-java/libgdx,sinistersnare/libgdx,Senth/libgdx,shiweihappy/libgdx,jberberick/libgdx,xpenatan/libgdx-LWJGL3,FredGithub/libgdx,del-sol/libgdx,mumer92/libgdx,Gliby/libgdx,Zonglin-Li6565/libgdx,billgame/libgdx,zhimaijoy/libgdx,FredGithub/libgdx,revo09/libgdx,saltares/libgdx,xoppa/libgdx,bsmr-java/libgdx,nudelchef/libgdx,flaiker/libgdx,ztv/libgdx,JDReutt/libgdx,nelsonsilva/libgdx,TheAks999/libgdx,kotcrab/libgdx,BlueRiverInteractive/libgdx,xoppa/libgdx,gouessej/libgdx,saqsun/libgdx,youprofit/libgdx,sarkanyi/libgdx,MadcowD/libgdx,tommycli/libgdx,basherone/libgdxcn,Arcnor/libgdx,Wisienkas/libgdx,Zonglin-Li6565/libgdx,ThiagoGarciaAlves/libgdx,gdos/libgdx,kagehak/libgdx,stinsonga/libgdx,petugez/libgdx,UnluckyNinja/libgdx,katiepino/libgdx,stickyd/libgdx,saltares/libgdx,collinsmith/libgdx,xranby/libgdx,billgame/libgdx,nelsonsilva/libgdx,titovmaxim/libgdx,bgroenks96/libgdx,katiepino/libgdx,nave966/libgdx,Badazdz/libgdx,Heart2009/libgdx,Heart2009/libgdx,KrisLee/libgdx,MikkelTAndersen/libgdx,yangweigbh/libgdx,nave966/libgdx,JDReutt/libgdx,SidneyXu/libgdx,collinsmith/libgdx,tommycli/libgdx,1yvT0s/libgdx,JDReutt/libgdx,KrisLee/libgdx,MetSystem/libgdx,zommuter/libgdx,309746069/libgdx,shiweihappy/libgdx,BlueRiverInteractive/libgdx,ThiagoGarciaAlves/libgdx,jsjolund/libgdx,sjosegarcia/libgdx,billgame/libgdx,EsikAntony/libgdx,Badazdz/libgdx,ttencate/libgdx,js78/libgdx,zhimaijoy/libgdx,designcrumble/libgdx,antag99/libgdx,jsjolund/libgdx,MovingBlocks/libgdx,NathanSweet/libgdx,lordjone/libgdx,titovmaxim/libgdx,stinsonga/libgdx,hyvas/libgdx,designcrumble/libgdx,MadcowD/libgdx,GreenLightning/libgdx,PedroRomanoBarbosa/libgdx,Heart2009/libgdx,kotcrab/libgdx,kotcrab/libgdx,haedri/libgdx-1,Thotep/libgdx,ninoalma/libgdx,czyzby/libgdx,anserran/libgdx,GreenLightning/libgdx,youprofit/libgdx,MikkelTAndersen/libgdx,fiesensee/libgdx,antag99/libgdx,SidneyXu/libgdx,samskivert/libgdx,noelsison2/libgdx,toa5/libgdx,youprofit/libgdx,saltares/libgdx,srwonka/libGdx,azakhary/libgdx,sjosegarcia/libgdx,TheAks999/libgdx,nudelchef/libgdx,jsjolund/libgdx,srwonka/libGdx,FredGithub/libgdx,haedri/libgdx-1,bgroenks96/libgdx,toa5/libgdx,Badazdz/libgdx,ttencate/libgdx,Dzamir/libgdx,noelsison2/libgdx,SidneyXu/libgdx,nelsonsilva/libgdx,ricardorigodon/libgdx,Deftwun/libgdx,xoppa/libgdx,yangweigbh/libgdx,Senth/libgdx,stickyd/libgdx,gf11speed/libgdx,xoppa/libgdx,jasonwee/libgdx,KrisLee/libgdx,basherone/libgdxcn,revo09/libgdx,samskivert/libgdx,katiepino/libgdx,zhimaijoy/libgdx,Badazdz/libgdx,titovmaxim/libgdx,czyzby/libgdx,azakhary/libgdx,junkdog/libgdx,Dzamir/libgdx,cypherdare/libgdx,Senth/libgdx,309746069/libgdx,fwolff/libgdx,copystudy/libgdx,ttencate/libgdx,tommycli/libgdx,KrisLee/libgdx,cypherdare/libgdx,ttencate/libgdx,flaiker/libgdx,sarkanyi/libgdx,Thotep/libgdx,KrisLee/libgdx,mumer92/libgdx,petugez/libgdx,titovmaxim/libgdx,tommyettinger/libgdx,revo09/libgdx,fwolff/libgdx,fwolff/libgdx,FyiurAmron/libgdx,designcrumble/libgdx,Xhanim/libgdx,stickyd/libgdx,KrisLee/libgdx,czyzby/libgdx,gf11speed/libgdx,Dzamir/libgdx,nave966/libgdx,bladecoder/libgdx,noelsison2/libgdx,ryoenji/libgdx,GreenLightning/libgdx,srwonka/libGdx,toloudis/libgdx,PedroRomanoBarbosa/libgdx,billgame/libgdx,youprofit/libgdx,thepullman/libgdx,libgdx/libgdx,jsjolund/libgdx,zhimaijoy/libgdx,codepoke/libgdx,Dzamir/libgdx,Dzamir/libgdx,basherone/libgdxcn,xranby/libgdx,nelsonsilva/libgdx,xpenatan/libgdx-LWJGL3,fwolff/libgdx,FyiurAmron/libgdx,davebaol/libgdx,bsmr-java/libgdx,fiesensee/libgdx,haedri/libgdx-1,junkdog/libgdx,thepullman/libgdx,libgdx/libgdx,samskivert/libgdx,FredGithub/libgdx,codepoke/libgdx,kzganesan/libgdx,saqsun/libgdx,Deftwun/libgdx,toa5/libgdx,GreenLightning/libgdx,sinistersnare/libgdx,curtiszimmerman/libgdx,jberberick/libgdx,kotcrab/libgdx,TheAks999/libgdx,alireza-hosseini/libgdx,js78/libgdx,katiepino/libgdx,tell10glu/libgdx,katiepino/libgdx,saqsun/libgdx,realitix/libgdx,nrallakis/libgdx,ya7lelkom/libgdx,FredGithub/libgdx,curtiszimmerman/libgdx,alex-dorokhov/libgdx,MovingBlocks/libgdx,fwolff/libgdx,basherone/libgdxcn,MikkelTAndersen/libgdx,snovak/libgdx,jasonwee/libgdx,djom20/libgdx,snovak/libgdx,srwonka/libGdx,jberberick/libgdx,ztv/libgdx,thepullman/libgdx,gf11speed/libgdx,Wisienkas/libgdx,lordjone/libgdx,jasonwee/libgdx,codepoke/libgdx,fiesensee/libgdx,titovmaxim/libgdx,xpenatan/libgdx-LWJGL3,1yvT0s/libgdx,gdos/libgdx,JDReutt/libgdx,haedri/libgdx-1,ryoenji/libgdx,JFixby/libgdx,1yvT0s/libgdx,antag99/libgdx,anserran/libgdx,GreenLightning/libgdx,copystudy/libgdx,antag99/libgdx,ThiagoGarciaAlves/libgdx,Zonglin-Li6565/libgdx,tommycli/libgdx,MikkelTAndersen/libgdx,ztv/libgdx,antag99/libgdx,josephknight/libgdx,josephknight/libgdx,del-sol/libgdx,zhimaijoy/libgdx,xranby/libgdx,ricardorigodon/libgdx,KrisLee/libgdx,Thotep/libgdx,xranby/libgdx,flaiker/libgdx,nrallakis/libgdx