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 judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
53 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
33 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
5 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
6 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment