For example, you can inherit from a line so your custom object has everything the line does and then you can add width to it if you wish.
Od črte prevzamete lastnosti in vaš novi predmet bo imel vse, kar ima črta. Po želji ji lahko dodate debelino.