gi-gsk-4.0.2: Gsk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gsk.Objects.BorderNode

Description

No description available in the introspection data.

Synopsis

Exported types

newtype BorderNode Source #

Memory-managed wrapper type.

class (BoxedPtr o, TypedObject o, IsDescendantOf BorderNode o) => IsBorderNode o Source #

Type class for types which can be safely cast to BorderNode, for instance with toBorderNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf BorderNode o) => IsBorderNode o Source # 
Instance details

Defined in GI.Gsk.Objects.BorderNode

toBorderNode :: (MonadIO m, IsBorderNode o) => o -> m BorderNode Source #

Cast to BorderNode, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

new

borderNodeNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RoundedRect

outline: a RoundedRect describing the outline of the border

-> [Float]

borderWidth: the stroke width of the border on the top, right, bottom and left side respectively.

-> [RGBA]

borderColor: the color used on the top, right, bottom and left side.

-> m BorderNode

Returns: A new RenderNode

Creates a RenderNode that will stroke a border rectangle inside the given outline. The 4 sides of the border can have different widths and colors.

peekColors

borderNodePeekColors :: (HasCallStack, MonadIO m, IsRenderNode a) => a -> m RGBA Source #

No description available in the introspection data.

peekOutline

borderNodePeekOutline :: (HasCallStack, MonadIO m, IsRenderNode a) => a -> m RoundedRect Source #

No description available in the introspection data.

peekWidths

borderNodePeekWidths :: (HasCallStack, MonadIO m, IsRenderNode a) => a -> m Float Source #

No description available in the introspection data.