Skip to content

Expose JointStyle and EndCapStyle on IPen #158

@antonfirsov

Description

@antonfirsov

Modify DrawPathProcessor:

.GenerateOutline(this.Pen.StrokeWidth, this.Pen.StrokePattern);

And probably DrawTextProcessor:

if (this.renderOutline && this.currentColor == null)
{
if (this.Pen.StrokePattern.Length == 0)
{
path = path.GenerateOutline(this.Pen.StrokeWidth);
}
else
{
path = path.GenerateOutline(this.Pen.StrokeWidth, this.Pen.StrokePattern);
}
renderData.OutlineMap = this.Render(path);
}

to use the new properties.

This will simplify life for use cases like #155.

Adding to 1.0 with lowest priority for now, @JimBobSquarePants feel free to kick it out of scope if it becomes blocking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions