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