module Celestine::Modules::Clip

Overview

Gives drawable access to an applied clip-path

Direct including types

Defined in:

modules/clip.cr

Instance Method Summary

Instance Method Detail

def clip_path_attribute(io : IO) #

Draws the clip-path and clip-rule attributes to an IO


[View source]
def clip_rule : String | Nil #

Gets the clip-rule attribute


[View source]
def clip_rule=(val : String) #

Sets the clip-rule attribute


[View source]
def set_clip_path(id : String) #

Sets the clip-path to use via ID on this drawable


[View source]
def set_clip_path(clip_path : Celestine::ClipPath) #

Sets the clip-path to use on this drawable


[View source]