Class: Yass::Declarations::ClipPath

Inherits:
Object
  • Object
show all
Includes:
Node
Defined in:
lib/yass/declarations.rb

Defined Under Namespace

Classes: ArcRadii, Auto, AxisEndPointByCoordinate, AxisEndPointToPosition, BorderBox, BorderCornerRadius, BorderRadius, Box, Circle, CommandEndPointByCoordinate, CommandEndPointToPosition, ContentBox, ControlPointAbsolute, ControlPointRelative, CoordinatePair, ElementDependent, Ellipse, FillBox, InsetRect, MarginBox, None, PaddingBox, PathArcRadii, PathAxisEndPointByCoordinate, PathAxisEndPointToPosition, PathCommand, PathCommandArc, PathCommandClose, PathCommandCubicCurve, PathCommandEndPointByCoordinate, PathCommandEndPointToPosition, PathCommandHLine, PathCommandLine, PathCommandMove, PathCommandQuadCurve, PathCommandSmoothCubic, PathCommandSmoothQuad, PathCommandVLine, PathControlPointAbsolute, PathControlPointRelative, PathCoordinatePair, PathFunction, PathOrShape, PathRelativeControlPoint, Polygon, PolygonCoord, Position, PositionAuto, Rect, RectFunction, RelativeControlPoint, Shape, ShapeCommand, ShapeCommandArc, ShapeCommandClose, ShapeCommandCubicCurve, ShapeCommandHLine, ShapeCommandLine, ShapeCommandMove, ShapeCommandQuadCurve, ShapeCommandSmoothCubic, ShapeCommandSmoothQuad, ShapeCommandVLine, ShapeFunction, ShapeRadiusClosestSide, ShapeRadiusFarthestSide, ShapeRadiusLength, StrokeBox, Url, ViewBox, XywhRect

Constant Summary collapse

RUBY_METHODS =
%i(kind value).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



1738
1739
1740
# File 'lib/yass/declarations.rb', line 1738

def accept(visitor)
  visitor.visit_declaration_clip_path(self)
end

#kindObject



1742
1743
1744
# File 'lib/yass/declarations.rb', line 1742

def kind
  :clip_path
end