enum Gsk::LineJoin

Overview

Specifies how to render the junction of two lines when stroking.

The default line join style is GSK_LINE_JOIN_MITER.

New entries may be added in future versions.

Line Join Styles
GSK_LINE_JOINT_MITER, GSK_LINE_JOINT_ROUND, GSK_LINE_JOIN_BEVEL

Defined in:

lib/gi-crystal/src/auto/gsk-4.0/gsk.cr

Enum Members

Miter = 0_u32

Use a sharp angled corner

Round = 1_u32

Use a round join, the center of the circle is the join point

Bevel = 2_u32

use a cut-off join, the join is cut off at half the line width from the joint point

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def bevel? #

def miter? #

def round? #