enum Gsk::LineCap

Overview

Specifies how to render the start and end points of contours or dashes when stroking.

The default line cap style is GSK_LINE_CAP_BUTT.

New entries may be added in future versions.

Line Cap Styles
GSK_LINE_CAP_BUTT, GSK_LINE_CAP_ROUND, GSK_LINE_CAP_SQUARE

Defined in:

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

Enum Members

Butt = 0_u32

Start and stop the line exactly at the start and end point

Round = 1_u32

Use a round ending, the center of the circle is the start or end point

Square = 2_u32

use squared ending, the center of the square is the start or end 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 butt? #

def round? #

def square? #