Skip to content

Conversation

rudrakpatra
Copy link

@rudrakpatra rudrakpatra commented Nov 17, 2021

Description

Added the following

paper.setting.drawSelected is a boolean, if you want to just select items and dont want to draw the outline, now you can

Styles have new properties,

    /**
     * The width of the selection stroke.
     */
    selectionWidth: number;

    /**
     * The shape to be used at the beginning and end of open {@link Path} items,
     * when they have a selection stroke.
     */
    selectionCap: string;

    /**
     * The shape to be used at the segments and corners of {@link Path} items
     * when they have a selection stroke.
     */
    selectionJoin: string;

    /**
     * The miter limit of the selection stroke.
     */
    selectedMiterLimit: number;
paper.project.currentStyle.selectionWidth = 5.6;

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant