inheritence eg using wpf canvas drawing shapes