So why do we have Plots[n].Pen and no Plots[n].Stroke?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plots[n].Pen?
Collapse
X
-
A NinjaTrader.Gui.Plot is a NinjaTrader.Gui.Stroke, which is drawn with a System.Windows.Media.Pen
In early beta, what we removed was the mixing of Pens/Strokes in the Add..() overloads. We wanted simplify to one type of resource use to create the object to be rendered (creating a stroke wouldn't need to be frozen by a user, where a pen would... ). Those rendered objects will still have a Pen field on it.
Any freezing of pens is done internally by the stroke class, which is why we went that approach.MatthewNinjaTrader Product Management
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Bogdan097, Today, 03:25 PM
|
0 responses
1 view
0 likes
|
Last Post
by Bogdan097
Today, 03:25 PM
|
||
Started by cmtjoancolmenero, 04-25-2024, 03:58 PM
|
25 responses
126 views
0 likes
|
Last Post Today, 03:16 PM | ||
Started by Mupulen, 04-16-2024, 11:26 AM
|
1 response
55 views
0 likes
|
Last Post
by techbech
Today, 03:03 PM
|
||
Started by Quanto, Today, 02:17 PM
|
1 response
7 views
0 likes
|
Last Post Today, 02:43 PM | ||
Started by Skifree, Today, 11:21 AM
|
3 responses
12 views
0 likes
|
Last Post Today, 02:14 PM |
Comment