This is an automated email from the ASF dual-hosted git repository.
Harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new c3e056057f added IRGBA
c3e056057f is described below
commit c3e056057f88a62ccda9c7da43befe1c3c677ef3
Author: Harbs <[email protected]>
AuthorDate: Thu May 14 13:43:36 2026 +0300
added IRGBA
---
.../projects/Core/src/main/royale/CoreClasses.as | 1 +
.../main/royale/org/apache/royale/core/IRGBA.as | 46 ++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/frameworks/projects/Core/src/main/royale/CoreClasses.as
b/frameworks/projects/Core/src/main/royale/CoreClasses.as
index e60d91986b..3e02bad307 100644
--- a/frameworks/projects/Core/src/main/royale/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/royale/CoreClasses.as
@@ -181,6 +181,7 @@ internal class CoreClasses
import org.apache.royale.core.IScrollingViewport; IScrollingViewport;
import org.apache.royale.core.IViewportModel; IViewportModel;
import org.apache.royale.core.IListWithPresentationModel;
IListWithPresentationModel;
+ import org.apache.royale.core.IRGBA; IRGBA;
import org.apache.royale.core.IApplicationView; IApplicationView;
diff --git
a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IRGBA.as
b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IRGBA.as
new file mode 100644
index 0000000000..ae04c86a1b
--- /dev/null
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IRGBA.as
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.core
+{
+ /**
+ * The IRGBA interface is the basic interface for an
+ * object which has RGBA color properties.
+ *
+ * @langversion 3.0
+ * @productversion Royale 1.0.0
+ */
+
+ public interface IRGBA
+ {
+ function get r():Number;
+ function set r(value:Number):void;
+ function get g():Number;
+ function set g(value:Number):void;
+ function get b():Number;
+ function set b(value:Number):void;
+ function get alpha():Number;
+ function set alpha(value:Number):void;
+ function get colorValue():uint;
+ function set colorValue(value:uint):void;
+ function get styleString():String;
+ function get hexString():String;
+ function get isValid():Boolean;
+ function clone():IRGBA;
+ }
+}
\ No newline at end of file