Hot Door CORE Forum

Full Version: applying a pathstyle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've created a default path style for newly-created art, but it's not applying it to the art. Can someone tell me what I'm doing wrong? Thanks -- rj

Code:
hdi::core::PathStyle pStyl;
pStyl.useFill = false;
pStyl.useStroke = true;
pStyl.stroke.width = 0.5;
pStyl.stroke.dash = hdi::core::DashStyle::DashStyle();
pStyl.stroke.color = hdi::core::ArtColor::ArtColor(1.0);
lineArt.path()->style() = pStyl;
You must use the hdi::core:TongueathArt:ConfusedetStyle() method.
Thank you, Garrett! I thought there must be a method for that. I'd like to find a way to print the online docs as one PDF document to make searching faster and more thorough. And to spare you from too many dope-slap questions like this one. But seriously, thank you!