09-09-2015, 01:56 AM
(This post was last modified: 09-09-2015, 02:03 AM by Manikandan.)
Hi,
I am developing AI CS6 plugin. I am using Hot door core library for my development.
I am trying to draw the Rect frame in Panel. In mean while, I am trying to change the color also.
I have tried the below code, but I could not draw the rect. I don't know How to proceed the next step?
docCustomColorView.drawRect(rectFrame, true);
docCustomColorView.setDrawColor(Color::yellow());
docPanel.addWidget(docCustomColorView);
So please , guide me How to draw rect frame in panel using CustomWidget?
I am developing AI CS6 plugin. I am using Hot door core library for my development.
I am trying to draw the Rect frame in Panel. In mean while, I am trying to change the color also.
I have tried the below code, but I could not draw the rect. I don't know How to proceed the next step?
docCustomColorView.drawRect(rectFrame, true);
docCustomColorView.setDrawColor(Color::yellow());
docPanel.addWidget(docCustomColorView);
So please , guide me How to draw rect frame in panel using CustomWidget?