enum Gsk::PathDirection

Overview

Used to pick one of the four tangents at a given point on the path.

Note that the directions for GSK_PATH_FROM_START/@GSK_PATH_TO_END and GSK_PATH_TO_START/@GSK_PATH_FROM_END will coincide for smooth points. Only sharp turns will exhibit four different directions.

Path Tangents

Defined in:

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

Enum Members

FromStart = 0_u32

The tangent in path direction of the incoming side of the path

ToStart = 1_u32

The tangent against path direction of the incoming side of the path

ToEnd = 2_u32

The tangent in path direction of the outgoing side of the path

FromEnd = 3_u32

The tangent against path direction of the outgoing side of the path

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 from_end? #

def from_start? #

def to_end? #

def to_start? #