blob: 3cc6c39a8427828f1b1122326f99d9c93c11b0cb [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module gfx.mojom;
// See ui/gfx/geometry/linear_gradient.h.
struct Step {
float fraction;
uint8 alpha;
};
struct LinearGradient {
int16 angle = 0;
uint8 step_count = 0;
array<Step, 8> steps;
};