Flutter Engine
 
Loading...
Searching...
No Matches
clip_rect_layer.cc
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
6
7namespace flutter {
8
9ClipRectLayer::ClipRectLayer(const DlRect& clip_rect, Clip clip_behavior)
10 : ClipShapeLayer(clip_rect, clip_behavior) {}
11
13 return clip_shape();
14}
15
19
20} // namespace flutter
void ApplyClip(LayerStateStack::MutatorContext &mutator) const override
const DlRect clip_shape_bounds() const override
ClipRectLayer(const DlRect &clip_rect, Clip clip_behavior)
const ClipShape & clip_shape() const
void clipRect(const DlRect &rect, bool is_aa)
@ kHardEdge
Definition layer.h:43