フィルターのクリア

How to have class and inheritance

4 ビュー (過去 30 日間)
Luca Re
Luca Re 2023 年 10 月 17 日
回答済み: Steven Lord 2023 年 10 月 17 日
Hi. It's possibile to have list of this? (With all class and it's inheritance)
  7 件のコメント
Walter Roberson
Walter Roberson 2023 年 10 月 17 日
The link I sent is for a tool that examines classes to try to calculate and display class hierarchies. It is not something static (it would depend on the current class definitions) and so would not have a PDF.
If you are looking for a complete class diagaram of all known graphics objects, then you are not going to find that. There are a lot of undocumented internal classes used by the graphics system. For example:
t = title('This is a title') %a text object
t =
Text (This is a title) with properties: String: 'This is a title' FontSize: 11 FontWeight: 'bold' FontName: 'Helvetica' Color: [0 0 0] HorizontalAlignment: 'center' Position: [0.5000 1.0078 0.5000] Units: 'data' Use GET to show all properties
t.NodeParent
ans =
DecorationContainer
NodeParent is not a documented property for Text objects https://www.mathworks.com/help/matlab/ref/matlab.graphics.illustration.legend.text-properties.html and DecorationContainer is not a documented class.
You can be certain that Mathworks has not created a PDF showing the class heirarchy of its undocumented classes.
Luca Re
Luca Re 2023 年 10 月 17 日
👍👍 thank

サインインしてコメントする。

回答 (1 件)

Steven Lord
Steven Lord 2023 年 10 月 17 日
This page is not itself a PDF, but there is a version of this documentation page showing the documented graphics object hierarchy of objects you can create (what can be parented to what) in the PDF documentation (page 17-9 in the MATLAB Graphics book.)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by