What functions and properties should i add to component for my next extension?

Maybe you didn’t know this extension:

Same task, so it would be a lot easier if @Mohamed_Tamer would add a opacity method to his extension. Teamwork would be cool!.