Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Cutting off a ray to make a line
Collapse
X
-
Cutting off a ray to make a line
Pretty basic question. When I draw a ray, I often want to cut it off later. One way I can do that is to just delete the ray and redraw it as a line instead, but that's cumbersome if the ray spans several days or more. Is there a way to just cut off the rest of a ray?Last edited by Yellowstone; 04-02-2014, 11:07 AM.Tags: None
-
Originally posted by Yellowstone View PostPretty basic question. When I draw a ray, I often want to cut it off later. One way I can do that is to just delete the ray and redraw it as a line instead, but that's cumbersome if the ray spans several days or more. Is there a way to just cut off the rest of a ray?
Code:private void DrawCompositeLineOrRay(string type, ...) { DrawLine(...); if (type.ToLower() == "ray") DrawRay(...) return; }
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by chbruno, Today, 04:10 PM
|
0 responses
3 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
6 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
9 responses
127 views
1 like
|
Last Post
by caryc123
Today, 03:12 PM
|
Comment